FFmpeg/libavformat
Andreas Rheinhardt eb998e33ef avformat/sccdec: Don't use uninitialized data, fix crash, simplify logic
Up until now, the scc demuxer not only read the line that it intends
to process, but also the next line, in order to be able to calculate
the duration of the current line. This approach leads to unnecessary
complexity and also to bugs: For the last line, the timing of the
next subtitle is not only logically indeterminate, but also
uninitialized and the same applies to the duration of the last packet
derived from it.* Worse yet, in case of e.g. an empty file, it is not
only the duration that is uninitialized, but the whole timing as well
as the line buffer itself.** The latter is used in av_strtok(), which
could lead to crashes. Furthermore, the current code always outputs
at least one packet, even for empty files.

This commit fixes all of this: It stops using two lines at a time;
instead only the current line is dealt with and in case there is
a packet after that, the duration of the last packet is fixed up
after having already parsed it; consequently the duration of the
last packet is left in its default state (meaning "unknown/up until
the next subtitle"). If no further line could be read, processing
is stopped; in particular, no packet is output for an empty file.

*: Due to stack reuse it seems to be zero quite often; for the same
reason Valgrind does not report any errors for a normal input file.
**: While ff_subtitles_read_line() claims to always zero-terminate
the buffer like snprintf(), it doesn't do so if it didn't read anything.
And even if it did, it would not necessarily help here: The current
code jumps over 12 bytes that it deems to have read even when it
hasn't.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit 60e12318bb)
2022-01-11 15:15:53 +01:00
..
tests avformat/url: add ff_make_absolulte_url2 to be able to test windows path cases 2021-04-08 17:38:06 +02:00
.gitignore lavf: add new API for iterating muxers and demuxers 2018-02-06 18:57:42 +00:00
3dostr.c avformat/3dostr: Check sample_rate 2021-02-09 19:37:27 +01:00
4xm.c avformat/4xm: Make audio_frame_count 64bit 2021-02-04 23:34:29 +01:00
a64.c
aacdec.c avformat/id3v2: Remove unnecessary indirection 2020-05-25 07:06:44 +02:00
aadec.c avformat/aadec: Don't use the same loop counter in inner and outer loop 2022-01-11 15:15:52 +01:00
aaxdec.c avformat/aaxdec: Check avio_seek() in header reading 2021-09-08 21:31:50 +02:00
ac3dec.c avformat/rawdec: Make the raw packet size configurable 2019-07-17 23:18:50 +02:00
acedec.c avformat: add tri-ACE demuxer 2020-10-03 21:50:59 +02:00
acm.c avformat/rawdec: Make the raw packet size configurable 2019-07-17 23:18:50 +02:00
act.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
adp.c avformat/adp, svs: Remove redundant av_shrink_packet() 2021-03-12 17:13:10 +01:00
ads.c avformat/ads: Check size 2021-01-23 14:32:54 +01:00
adtsenc.c avformat/adtsenc: return value check for init_get_bits in adts_decode_extradata 2021-09-08 21:31:50 +02:00
adxdec.c avformat/adxdec: demux multiple blocks at once 2020-10-03 21:49:39 +02:00
aea.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
afc.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
aiff.c avformat/aiff: Deduplicate codec tags and codec tags list 2021-02-23 11:30:57 +01:00
aiff.h avformat/aiff: Deduplicate codec tags and codec tags list 2021-02-23 11:30:57 +01:00
aiffdec.c avformat/aiffdec: Check for size overflow in header parsing 2021-09-08 21:31:50 +02:00
aiffenc.c avcodec/packet_internal: make avpriv_packet_list_* functions use an internal struct 2021-03-17 14:12:17 -03:00
aixdec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
allformats.c avformat: add TTML muxer 2021-03-05 19:45:00 +02:00
alp.c avformat/alp: allow seeking to start 2021-03-25 16:34:42 +10:00
amr.c avformat/amr: Don't reimplement ff_raw_write_packet() 2020-04-14 18:52:44 +02:00
amvenc.c avformat/amvenc: use av_packet_alloc() to allocate packets 2021-03-17 15:06:48 -03:00
anm.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
apc.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
ape.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
apetag.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
apetag.h
apm.c avformat/apm: fix APM_FILE_HEADER_SIZE value 2020-07-30 11:48:28 +10:00
apngdec.c avformat/apngdec: Remove goto fail that does nothing 2020-11-03 14:27:25 +01:00
apngenc.c avformat: use the buffer_size_t typedef where required 2021-03-10 20:26:36 -03:00
aptxdec.c lavf/aptxdec: fix the limit on the APTX demuxer definition 2018-02-10 18:20:18 +02:00
aqtitledec.c avformat/aqtitledec: Fix memleak upon read header failure 2020-06-15 16:54:05 +02:00
argo_asf.c avformat/argo_{asf,brp}: fix potential segfault in ff_argo_asf_fill_stream() 2020-09-27 09:11:29 +10:00
argo_asf.h avformat/argo_{asf,brp}: fix potential segfault in ff_argo_asf_fill_stream() 2020-09-27 09:11:29 +10:00
argo_brp.c avformat/argo_brp: remove block_align check for audio 2020-11-05 07:58:06 +10:00
asf.c avformat/asf: Move ff_asf_audio_conceal_none to its only user 2021-02-24 08:17:50 +01:00
asf.h avformat/asf: Move ff_asf_audio_conceal_none to its only user 2021-02-24 08:17:50 +01:00
asfcrypt.c
asfcrypt.h
asfdec_f.c avformat/asfdec_f: Check sizeX against padding 2021-09-08 21:31:50 +02:00
asfdec_o.c avformat/asfdec_o: Use ff_get_extradata() 2021-06-18 20:53:56 +02:00
asfenc.c avformat/asfenc: Deduplicate codec tags lists 2021-02-23 10:14:26 +01:00
assdec.c avformat/assdec: Fix memleak upon read header failure 2020-06-15 16:54:05 +02:00
assenc.c avformat: remove avio_flush() calls from the end of write_header functions 2020-01-07 21:51:45 +01:00
ast.c avformat/ast: Deduplicate codec tags lists 2021-02-23 11:30:57 +01:00
ast.h avformat/ast: Deduplicate codec tags lists 2021-02-23 11:30:57 +01:00
astdec.c avformat/ast: Deduplicate codec tags lists 2021-02-23 11:30:57 +01:00
astenc.c avformat/ast: Deduplicate codec tags lists 2021-02-23 11:30:57 +01:00
async.c avformat/avio: Remove ffurl_open 2021-02-02 23:53:29 +01:00
au.c avformat/au: Deduplicate codec_tag lists 2021-02-23 10:14:26 +01:00
av1.c avformat/av1: add support for passing through MP4/Matroska av1c 2020-11-24 10:13:55 +02:00
av1.h avformat/av1: Avoid allocation + copying when filtering OBUs 2020-01-26 12:41:32 -03:00
av1dec.c avformat/av1dec: check size before addition in probing 2020-12-06 21:00:03 +01:00
avc.c avformat/avc, mxfenc: Avoid allocation of H264 SPS structure, fix memleak 2020-06-26 12:13:43 +02:00
avc.h avformat/avc, mxfenc: Avoid allocation of H264 SPS structure, fix memleak 2020-06-26 12:13:43 +02:00
avformat.h Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
avformatres.rc
avi.h
avidec.c oavformat/avidec: Check offset in odml 2021-10-21 19:21:14 +02:00
avienc.c avformat/avienc: use av_packet_alloc() to allocate packets 2021-03-17 15:06:48 -03:00
avio.c avformat/avio: Check av_opt_copy() for failure 2021-06-18 20:53:56 +02:00
avio.h avformat/avio: add avio_protocol_get_class 2020-01-30 17:10:12 +08:00
avio_internal.h avformat/aviobuf: discard part of the IO buffer in ffio_ensure_seekback if needed 2020-10-09 21:07:18 +02:00
aviobuf.c avformat/aviobuf: don't reduce short seek threshold 2021-03-16 22:46:25 -04:00
avisynth.c avisynth: fix audio on big endian 2021-03-11 14:21:30 -05:00
avlanguage.c avformat/avlanguage: Remove long disabled av_convert_lang_to 2021-02-25 22:05:09 +01:00
avlanguage.h avformat/avlanguage: Remove long disabled av_convert_lang_to 2021-02-25 22:05:09 +01:00
avr.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
avs.c avformat/avs: Use 64bit for the avio_tell() output 2020-11-22 17:45:17 +01:00
avs2dec.c lavf/avs2dec.c: optimize code style 2020-10-06 00:01:35 +08:00
avs3dec.c lavf/avs3dec: add raw avs3 demuxer 2020-10-06 00:01:27 +08:00
bethsoftvid.c avformat/bethsoftvid: Check image dimensions before use 2020-10-23 10:07:57 +02:00
bfi.c avformat/bfi: check nframes 2021-09-08 21:31:50 +02:00
bink.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
binka.c avformat: add binka demuxer 2021-02-04 17:52:45 +01:00
bintext.c avformat/bintext: Check width 2020-11-11 17:05:24 +01:00
bit.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
bluray.c lavf/bluray: translate a read of 0 to EOF 2018-05-06 18:51:33 +03:00
bmv.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
boadec.c avformat/boadec: Check that channels and block_align are set 2020-10-20 15:33:13 +02:00
brstm.c avformat/brstm: remove custom allocation of table to hold coeffs 2020-09-12 14:52:31 +02:00
c93.c avformat: Remove unnecessary av_packet_unref() 2020-02-10 22:41:38 +01:00
cache.c avformat: Replace ffurl_close() by ffurl_closep() where appropriate 2020-05-25 13:11:36 +02:00
caf.c avformat/caf: Deduplicate codec tags list 2021-02-23 10:14:26 +01:00
caf.h avformat/caf: Deduplicate codec tags list 2021-02-23 10:14:26 +01:00
cafdec.c avformat/cafdec: Check channels 2021-06-18 20:53:56 +02:00
cafenc.c avformat/caf: Deduplicate codec tags list 2021-02-23 10:14:26 +01:00
cavsvideodec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
cdg.c avcodec/cdgraphics: fix decoded output when seeking to start of file 2020-09-13 16:05:01 +02:00
cdxl.c avformat/cdxl: add back options to override sample and frame rate 2021-02-05 18:11:42 +01:00
chromaprint.c All: update names in copyright headers 2021-01-20 01:02:56 -06:00
cinedec.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
codec2.c avcodec/codec2utils: move the remaining avpriv functions to lavf 2020-10-28 11:59:35 -03:00
concat.c avformat/concat: Remove unnecessary check 2021-02-27 04:27:09 +01:00
concatdec.c avcodec/packet: Also change av_packet_pack/unpack_dictionary to size_t 2021-03-19 03:12:24 +01:00
crcenc.c
crypto.c avformat/crypto.c: remove unnecessary code 2020-07-20 10:14:53 +08:00
dash.c
dash.h
dashdec.c avformat/dashdec: Don't needlessly strdup metadata 2021-03-08 02:25:52 +01:00
dashenc.c avformat: use the buffer_size_t typedef where required 2021-03-10 20:26:36 -03:00
data_uri.c
dauddec.c
daudenc.c avformat/daudenc: Return proper error codes instead if -1 2020-07-26 16:57:58 +02:00
dcstr.c avformat/dcstr: Check sample rate 2021-03-03 16:54:20 +01:00
derf.c avformat: add derf demuxer 2020-03-17 16:05:49 +01:00
dfa.c avformat: Remove unnecessary av_packet_unref() 2020-02-10 22:41:38 +01:00
dhav.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
diracdec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
dnxhddec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
dsfdec.c avformat/dsfdec: Change order of operations in bitrate computation 2021-09-08 21:31:50 +02:00
dsicin.c avformat/dsicin: Check packet size for overflow 2021-09-08 21:31:50 +02:00
dss.c avformat/dss: Don't prematurely modify context variable 2021-04-02 21:42:37 +02:00
dtsdec.c avformat/dtsdec: make S16LE discrimination sharper 2020-01-18 18:35:57 +01:00
dtshddec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
dump.c av_dump_format(): reduce indentation for streams 2021-02-03 10:41:33 +01:00
dv.c avformat/dv: fix timestamps of audio packets in case of dropped corrupt audio frames 2020-12-06 18:09:24 +01:00
dv.h
dvbsub.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
dvbtxt.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
dvenc.c avformat/cutils, dvenc: Move ff_brktimegm to its only user 2021-02-03 21:35:43 +01:00
dxa.c avformat/dxa: Check fps to be within the supported range more precissely 2021-09-08 21:31:50 +02:00
eacdata.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
electronicarts.c avformat/electronicarts: Clear partial_packet on error 2021-02-12 23:42:16 +01:00
epafdec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
ffmeta.h
ffmetadec.c avformat/ffmetadec: finalize AVBPrint on errors 2020-10-21 17:21:41 +02:00
ffmetaenc.c avformat: remove avio_flush() calls from the end of write_header functions 2020-01-07 21:51:45 +01:00
fifo.c avformat/fifo: check for flushed packets and timeshift 2021-06-18 20:53:56 +02:00
fifo_test.c avformat/fifo_test: remove network.h include 2018-02-07 00:30:00 -03:00
file.c avformat/hls: support data protocol in uri for EXT-X-MAP 2020-01-18 22:41:11 +08:00
file_open.c
filmstripdec.c
filmstripenc.c avformat/filmstripenc: Use ff_raw_write_packet() 2020-04-14 19:01:27 +02:00
fitsdec.c avformat/fitsdec: Better size checks 2021-01-23 01:05:25 +01:00
fitsenc.c avformat/fitsenc: write DATAMIN/DATAMAX to encoded output 2021-02-10 00:03:38 +01:00
flac_picture.c avformat/flac_picture: replace call to av_init_packet() 2021-03-17 15:06:48 -03:00
flac_picture.h libavformat/flacdec: Workaround for truncated metadata picture size 2020-05-25 11:59:45 +02:00
flacdec.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
flacenc.c avcodec/packet_internal: make avpriv_packet_list_* functions use an internal struct 2021-03-17 14:12:17 -03:00
flacenc.h avformat/flacenc: Add const to ff_flac_write_header() parameter 2019-11-28 18:44:01 +01:00
flacenc_header.c avformat/flacenc: Add const to ff_flac_write_header() parameter 2019-11-28 18:44:01 +01:00
flic.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
flv.h flvdec: Export unknown metadata packets as opaque data 2018-11-05 16:02:51 +02:00
flvdec.c avformat/flvdec: Check array entry number 2021-04-01 11:38:44 +02:00
flvenc.c avformat: use the buffer_size_t typedef where required 2021-03-10 20:26:36 -03:00
format.c lavf: Constify AVProbeData* in av_probe_input_format(). 2019-03-20 19:04:49 +01:00
framecrcenc.c avformat/framecrcenc: Make side-data checksums endian-independent 2020-12-08 18:54:20 +01:00
framehash.c avformat: remove avio_flush() calls from the end of write_header functions 2020-01-07 21:51:45 +01:00
frmdec.c avformat/frmdec: Simplify finding pixel format 2021-03-03 16:46:09 +01:00
fsb.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
ftp.c avformat/ftp: Check for av_strtok() failure 2021-09-08 21:31:50 +02:00
fwse.c avformat: add fwse demuxer 2020-03-17 16:04:42 +01:00
g722.c avformat/rawdec: Make the raw packet size configurable 2019-07-17 23:18:50 +02:00
g723_1.c avformat: Remove unnecessary av_packet_unref() 2020-02-10 22:41:38 +01:00
g726.c
g729dec.c avformat/g729dec: set packet duration and correctly set timebase info 2019-09-27 12:39:21 +02:00
gdv.c avformat: Remove unnecessary av_packet_unref() 2020-02-10 22:41:38 +01:00
genh.c avformat/genh: Check block_align 2020-10-24 19:11:12 +02:00
gif.c avformat/gif: abort early if nothing was written yet 2019-05-29 10:57:18 +02:00
gifdec.c avformat/gifdec: -1 -> AV_BPRINT_SIZE_UNLIMITED 2020-07-08 23:09:29 +08:00
golomb_tab.c
gopher.c avformat/gopher: Add support for Gopher over TLS 2021-03-11 23:47:19 +01:00
gsmdec.c avformat: Remove unnecessary av_packet_unref() 2020-02-10 22:41:38 +01:00
gxf.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
gxf.h
gxfenc.c avformat: implement retiming directly in mxfenc and gxfenc 2020-05-07 23:12:24 +02:00
h261dec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
h263dec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
h264dec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
hashenc.c avformat/hashenc: Deduplicate (stream)hash options 2021-01-08 05:06:11 +01:00
hca.c avformat: add hca demuxer 2020-03-17 16:08:13 +01:00
hcom.c avformat/hcom: Tell the compiler about set but not read variables 2019-09-16 00:04:18 +02:00
hdsenc.c avformat/hdsenc: Add explicit deinit function 2020-04-30 08:24:09 +02:00
hevc.c avformat/hevc: Defer initializations in ff_isom_write_hvcc() 2020-07-02 02:09:59 +02:00
hevc.h avformat/av1, avc, hevc: Remove av_freep() 2020-01-26 12:41:32 -03:00
hevcdec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
hls.c avformat/hls: use av_packet_alloc() to allocate packets 2021-03-17 15:06:49 -03:00
hlsenc.c Revert "avformat/hlsenc: compute video_keyframe_size after write keyframe" 2021-10-07 22:08:08 +08:00
hlsplaylist.c avformat/hlsenc, hlsplaylist: Cosmetics 2020-05-28 11:18:53 +02:00
hlsplaylist.h avformat/hlsenc, hlsplaylist: Cosmetics 2020-05-28 11:18:53 +02:00
hlsproto.c avformat/hlsproto: update comment of file description 2020-12-28 11:09:19 +08:00
hnm.c avformat/hnm: Only keep and parse what is needed later 2020-04-02 21:22:52 +02:00
http.c avformat/http,tls: honor http_proxy command line variable for HTTPS 2021-03-19 22:43:02 +01:00
http.h avformat/http: add ff_http_do_new_request2 for options 2019-10-08 14:57:44 +08:00
httpauth.c avformat/httpauth: do not decode plus sign to space in credentials 2020-02-15 18:41:36 +01:00
httpauth.h
icecast.c avformat/icecast: Add option to use TLS connection 2020-07-02 17:14:31 +02:00
icodec.c avformat/icodec: Check for zero streams and stream creation failure 2020-11-13 17:46:47 +01:00
icoenc.c avformat: remove avio_flush() calls from the end of write_header functions 2020-01-07 21:51:45 +01:00
id3v1.c libavformat: fix spelling in ID3v1 genres and extend the list of Winamp extensions. 2020-01-05 20:31:42 +01:00
id3v1.h libavformat: fix spelling in ID3v1 genres and extend the list of Winamp extensions. 2020-01-05 20:31:42 +01:00
id3v2.c avformat/id3v2: Check end for overflow in id3v2_parse() 2021-06-18 20:53:56 +02:00
id3v2.h avformat/id3v2: Remove unnecessary indirection 2020-05-25 07:06:44 +02:00
id3v2enc.c avformat/id3v2enc: fix bad ID3v2 tag length 2020-01-10 12:02:13 +01:00
idcin.c avformat: Remove unnecessary av_packet_unref() 2020-02-10 22:41:38 +01:00
idroqdec.c avformat: Remove unnecessary av_packet_unref() 2020-02-10 22:41:38 +01:00
idroqenc.c avformat: remove avio_flush() calls from the end of write_header functions 2020-01-07 21:51:45 +01:00
iff.c avformat/iff: Use 64bit in duration computation 2021-09-08 21:31:50 +02:00
ifv.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
ilbc.c avformat/ilbc: Add missing #if for muxer 2020-04-07 17:01:58 +02:00
img2.c avcodec: add Cintel RAW decoder 2020-10-07 22:16:09 +02:00
img2.h avformat/img2dec: add option to provide metadata fields related to input path 2020-01-10 23:08:18 +01:00
img2_alias_pix.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
img2_brender_pix.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
img2dec.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
img2enc.c avcodec: add initial exr image encoder 2021-02-18 13:00:40 +01:00
imx.c avformat/imx: Check palette chunk size 2021-04-01 11:38:45 +02:00
ingenientdec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
internal.h Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
ip.c avformat/ip: factorize some IP filtering and resolving functions to a new file 2018-10-03 22:03:29 +02:00
ip.h avformat/ip: factorize some IP filtering and resolving functions to a new file 2018-10-03 22:03:29 +02:00
ipmovie.c avformat/ipmovie: Free packets allocated in header reading 2021-03-15 22:24:31 +01:00
ipudec.c avformat: add IPU demuxer 2020-09-24 13:38:28 +02:00
ircam.c
ircam.h
ircamdec.c avformat/ircamdec: use lrintf() for rounding 2021-02-16 23:45:01 +01:00
ircamenc.c
isom.c avformat/isom: Remove outcommented function 2021-02-23 10:14:26 +01:00
isom.h Add support for playing Audible AAXC (.aaxc) files [PATCH v4] 2020-11-05 21:40:20 +05:30
isom_tags.c Handle AVID MJPEG streams directly in the MJPEG decoder. 2021-02-25 11:46:28 +01:00
iss.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
iv8.c avformat: Remove unnecessary av_packet_unref() 2020-02-10 22:41:38 +01:00
ivfdec.c avformat/ivfdec: Change the length field to 32 bits 2019-10-08 21:45:00 -04:00
ivfenc.c ivfenc: write duration for frame_cnt=1. 2021-03-03 07:22:02 -05:00
jacosubdec.c avformat/jacosubdec: Check for min in t overflow in get_shift() 2021-10-05 23:19:39 +02:00
jacosubenc.c avformat: remove avio_flush() calls from the end of write_header functions 2020-01-07 21:51:45 +01:00
jvdec.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
kvag.c avformat/kvag: allow seeking to start 2021-03-25 16:34:41 +10:00
latmenc.c avformat: use the buffer_size_t typedef where required 2021-03-10 20:26:36 -03:00
libamqp.c avformat/libamqp: parse vhost in uri 2020-12-21 01:27:33 -05:00
libavformat.v libavformat: unexpose private ff_ functions needed by ffserver 2018-01-06 18:37:06 +00:00
libgme.c avformat/libgme: Fix memleaks on errors 2021-04-02 21:37:09 +02:00
libmodplug.c avformat/libmodplug: Fix memleaks on error 2021-04-02 21:37:20 +02:00
libopenmpt.c avformat/libopenmpt: Don't discard const 2020-10-08 22:56:31 +02:00
librist.c avformat/librist: clarify and limit buffer_size 2021-03-13 17:36:48 +01:00
librtmp.c avformat/librtmp: fix returning EOF from Read/Write 2018-07-28 01:04:38 +02:00
libsmbclient.c lavf/libsmbclient: return AVERROR_EOF for EOF. 2018-09-02 18:37:09 +02:00
libsrt.c avformat/libsrt: fix help message 2021-03-19 22:57:23 +01:00
libssh.c lavf/libssh: translate a read of 0 to EOF 2018-05-28 20:33:50 +03:00
libzmq.c avformat/libzmq: Make default pkt_size value consistent with amqp 2020-03-09 22:07:18 +01:00
lmlm4.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
loasdec.c avformat/rawdec: Make the raw packet size configurable 2019-07-17 23:18:50 +02:00
log2_tab.c
lrc.c
lrc.h
lrcdec.c avformat/lrcdec: Clip timestamps 2020-10-25 09:49:26 +01:00
lrcenc.c
luodatdec.c avformat: add DAT CCTV demuxer 2020-09-18 11:30:03 +02:00
lvfdec.c avformat/lvfdec: Check stream_index before use 2020-11-10 16:37:37 +01:00
lxfdec.c avformat/lxfdec: Fix multiple integer overflows related to track_size 2021-03-03 16:54:20 +01:00
m4vdec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
Makefile libavformat: add librist protocol 2021-03-13 17:36:48 +01:00
matroska.c avformat/matroska: Move mime_tag lists to matroskadec 2020-04-20 21:24:18 +02:00
matroska.h avformat/matroskadec: Add support for FlagOriginal 2021-03-02 06:54:47 +01:00
matroskadec.c avformat/matroskadec: Don't unnecessarily reduce aspect ratio 2022-01-11 15:15:53 +01:00
matroskaenc.c avformat/matroskaenc: Fix leak when writing attachment without filename 2021-04-10 05:17:21 +02:00
mca.c avformat/mca: clip timestamp when seeking into acceptable range 2020-09-10 17:38:08 +02:00
mccdec.c avformat/mccdec: Fix overflows in num/den 2021-09-08 21:31:50 +02:00
md5proto.c
metadata.c
metadata.h
mgsts.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
microdvddec.c avformat/microdvddec: use 64bit for durations 2021-02-21 22:50:52 +01:00
microdvdenc.c avformat: remove avio_flush() calls from the end of write_header functions 2020-01-07 21:51:45 +01:00
mj2kdec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
mkvtimestamp_v2.c
mlpdec.c avformat/rawdec: Make the raw packet size configurable 2019-07-17 23:18:50 +02:00
mlvdec.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
mm.c avformat/mm: Check for existence of audio stream 2020-07-10 20:36:31 +02:00
mmf.c avformat: remove unneeded avio_flush() calls from the end of write_trailer functions 2020-01-07 21:51:45 +01:00
mms.c avformat/mms: add logging context to log 2019-10-08 13:47:16 +08:00
mms.h
mmsh.c avformat: Replace ffurl_close() by ffurl_closep() where appropriate 2020-05-25 13:11:36 +02:00
mmst.c avformat: Replace ffurl_close() by ffurl_closep() where appropriate 2020-05-25 13:11:36 +02:00
mods.c mobiclip: fix copyright headers 2021-03-08 19:19:19 +01:00
moflex.c avformat/moflex: Don't use uninitialized timebase for data stream 2022-01-11 15:15:52 +01:00
mov.c avformat/mov: Fix last mfra check 2021-10-05 23:19:40 +02:00
mov_chan.c
mov_chan.h
mov_esds.c avformat/mov_esds: check return value of ff_mp4_read_dec_config_descr 2017-11-25 23:15:28 -03:00
movenc.c avformat/movenc: Check pal_size before use 2021-06-18 20:53:56 +02:00
movenc.h avformat/movenc: use av_packet_alloc() to allocate packets 2021-03-17 15:06:49 -03:00
movenccenc.c avformat/movenccenc: Fix memory leak for muxing CENC-encrypted files 2021-02-27 22:09:51 +01:00
movenccenc.h
movenchint.c avformat/movenc: use av_packet_alloc() to allocate packets 2021-03-17 15:06:49 -03:00
mp3dec.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
mp3enc.c avcodec/packet_internal: make avpriv_packet_list_* functions use an internal struct 2021-03-17 14:12:17 -03:00
mpc.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
mpc8.c avformat/mpc8: Check first keyframe position for overflow 2021-09-08 21:31:50 +02:00
mpeg.c avformat/subtitles: use av_packet_alloc() to allocate packets 2021-03-17 15:19:36 -03:00
mpeg.h lavf/mpeg: Support demuxing HEVC in mpeg-ps. 2018-09-27 23:53:21 +02:00
mpegenc.c avformat/mpegenc: Forward error code 2021-02-19 07:45:48 +01:00
mpegts.c avformat/mpegts: use actually read packet size in mpegts_resync special case 2021-10-21 19:21:14 +02:00
mpegts.h avformat/mpegts: replace magic descriptor_tag values with defines 2020-10-16 23:31:45 +02:00
mpegtsenc.c avformat/mpegtsenc: use av_packet_alloc() to allocate packets 2021-03-17 15:06:49 -03:00
mpegvideodec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
mpjpeg.c avformat/mpjpeg: Remove mpjpeg_write_trailer 2020-01-08 01:32:26 +01:00
mpjpegdec.c avformat/mpjpegdec: make sure we seek back to the ensured buffer 2020-10-09 21:07:18 +02:00
mpl2dec.c avformat/mpl2dec: Avoid variable that is always zero 2020-06-22 13:16:53 +02:00
mpsubdec.c avformat/subtitles: use av_packet_alloc() to allocate packets 2021-03-17 15:19:36 -03:00
msf.c avformat/msf: Check that channels doesnt overflow during extradata construction 2021-09-08 21:31:50 +02:00
msnwc_tcp.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
mspdec.c avformat/mspdec: Check packet_size more completely 2021-03-03 16:54:20 +01:00
mtaf.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
mtv.c avformat/mtv: check av_strdup() return value 2019-10-19 06:54:53 +02:00
musx.c avformat/musx: improve probing 2020-09-03 18:03:18 +02:00
mux.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
mvdec.c avformat/mvdec: Do not set invalid sample rate 2021-10-05 23:19:39 +02:00
mvi.c avformat/mvi: Check audio_data_size to be non negative 2021-06-18 20:53:56 +02:00
mxf.c avformat/mxf: Establish register of local tags 2021-02-01 23:52:55 +01:00
mxf.h avformat/mxf: Establish register of local tags 2021-02-01 23:52:55 +01:00
mxfdec.c avformat/mxfdec: check channel number in mxf_get_d10_aes3_packet() 2021-10-05 23:19:39 +02:00
mxfenc.c avcodec/packet_internal: make avpriv_packet_list_* functions use an internal struct 2021-03-17 14:12:17 -03:00
mxg.c avformat/mxg: return reference counted packets 2018-03-02 12:26:09 -03:00
ncdec.c avformat: Remove unnecessary av_packet_unref() 2020-02-10 22:41:38 +01:00
network.c avformat/network: add logging context to log 2019-10-08 13:47:07 +08:00
network.h network: Define ENOTCONN as WSAENOTCONN if not defined 2019-12-11 22:18:09 +02:00
nistspheredec.c avformat/nistspheredec: Check bits_per_coded_sample and channels 2021-01-21 20:21:32 +01:00
nspdec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
nsvdec.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
nullenc.c
nut.c libavformat/nut: Support SSA and ASS subtitles 2020-08-22 22:51:07 +02:00
nut.h
nutdec.c avformat/nutdec: Check tmp_size 2021-09-08 21:31:50 +02:00
nutenc.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
nuv.c avformat/nuv: Check channels 2021-01-28 21:08:11 +01:00
oggdec.c avformat/oggdec: Disable mid stream codec changes 2020-06-14 18:34:59 +02:00
oggdec.h avcodec/packet: Also change av_packet_pack/unpack_dictionary to size_t 2021-03-19 03:12:24 +01:00
oggenc.c avformat/oggenc: Avoid allocating and copying when writing page data 2020-05-09 16:18:39 +02:00
oggparsecelt.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
oggparsedirac.c
oggparseflac.c avformat/oggparseflac: Replace skip_bits_long() by skip_bits() where possible 2019-12-31 18:43:50 +01:00
oggparseogm.c avformat: Don't free old extradata before ff_alloc/get_extradata 2019-12-12 19:25:33 +01:00
oggparseopus.c oggdec: add support for proper demuxing of chained Opus files and streams 2020-04-30 23:05:51 +01:00
oggparseskeleton.c
oggparsespeex.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
oggparsetheora.c avformat/oggparsetheora: Don't update start time when lastpts is AV_NOPTS_VALUE. 2020-05-31 00:52:08 +02:00
oggparsevorbis.c avformat/oggdec: Avoid duplicating buffer when adding side-data 2020-05-28 12:04:26 +02:00
oggparsevp8.c Don't manipulate duration when it's AV_NOPTS_VALUE. 2017-11-29 00:52:27 -03:00
oma.c avformat/oma: Move stuff only used by demuxer to demuxer 2021-02-23 11:26:21 +01:00
oma.h avformat/oma: Move stuff only used by demuxer to demuxer 2021-02-23 11:26:21 +01:00
omadec.c avformat/oma: Move stuff only used by demuxer to demuxer 2021-02-23 11:26:21 +01:00
omaenc.c avformat/oma: Deduplicate codec tags list 2021-02-23 11:24:00 +01:00
options.c avformat/utils: use av_packet_alloc() to allocate packets 2021-03-17 15:06:48 -03:00
options_table.h remove CHAR_MIN/CHAR_MAX usage 2020-03-17 22:46:36 +01:00
os_support.c lavf/os_support: Only compile inet_aton() if getaddrinfo() is needed. 2018-04-23 13:39:29 +02:00
os_support.h os_support: define socket shutdown SHUT_xxx macros if they are not defined 2018-12-11 22:08:18 +11:00
paf.c avformat/paf: Check for EOF before allocation in read_header() 2021-03-08 22:08:49 +01:00
pcm.c avformat/pcm: Check block_align 2020-10-25 09:49:31 +01:00
pcm.h
pcmdec.c avformat/pcmdec: Beautify pcm_read_header 2021-02-28 17:14:21 +01:00
pcmenc.c avformat/pcm(dec|enc): Don't include disabled (de)muxers 2021-02-28 17:14:21 +01:00
pjsdec.c avformat/pjsdec: Avoid variable that is always zero 2020-06-22 13:16:58 +02:00
pmpdec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
pp_bnk.c avformat/pp_bnk: Use 64bit in bitrate computation 2021-09-08 21:31:50 +02:00
prompeg.c lavf/prompeg: prompeg_write() must report data all was written 2020-06-14 12:27:49 +08:00
protocols.c libavformat: add librist protocol 2021-03-13 17:36:48 +01:00
psxstr.c avformat: Improve returned error codes 2020-01-08 01:32:26 +01:00
pva.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
pvfdec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
qcp.c avformat/qcp: Avoid negative nb_rates 2021-09-08 21:31:50 +02:00
qtpalette.c avformat/qtpalette: Use better headers 2021-02-03 22:28:11 +01:00
qtpalette.h avformat/qtpalette: Use better headers 2021-02-03 22:28:11 +01:00
r3d.c avformat/r3d: Check samples before computing duration 2021-02-12 23:42:16 +01:00
rawdec.c lavf/rawdec: Return a low score if the mjpeg probe function detected one frame. 2020-12-11 00:23:41 +01:00
rawdec.h avformat/rawdec: fix identifier names 2020-06-06 00:25:00 +02:00
rawenc.c avformat/rawenc: Use init instead of write_header function 2021-03-11 20:01:28 +01:00
rawenc.h
rawutils.c
rawvideodec.c
rdt.c avformat/rtpdec: Constify RTPDynamicProtocolHandlers 2021-01-24 11:28:53 +01:00
rdt.h lavf/rtpdec: Constify several pointers. 2018-02-11 20:03:33 +01:00
realtextdec.c avformat/realtextdec: Check the pts difference before using it for the duration computation 2021-09-08 21:31:50 +02:00
redspark.c avformat: Remove unnecessary av_packet_unref() 2020-02-10 22:41:38 +01:00
replaygain.c
replaygain.h
riff.c avformat/wav: Deduplicate codec tags lists 2021-02-23 11:30:57 +01:00
riff.h avformat/wav: Deduplicate codec tags lists 2021-02-23 11:30:57 +01:00
riffdec.c avcodec: fix pcm zork decoder 2020-02-16 12:54:57 +01:00
riffenc.c avformat/riff: prevent muxing adpcm_swf with a variable block size 2020-10-21 11:23:23 +10:00
rl2.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
rm.c
rm.h
rmdec.c avformat/rmdec: Check for multiple audio_stream_info 2021-10-21 19:21:14 +02:00
rmenc.c avformat: remove avio_flush() calls from the end of write_header functions 2020-01-07 21:51:45 +01:00
rmsipr.c
rmsipr.h
rpl.c avformat/rpl: The associative law doesnt hold for signed integers in C 2021-06-18 20:53:56 +02:00
rsd.c uavformat/rsd: check for EOF in extradata 2021-01-11 23:15:04 +01:00
rso.c avformat/rso: Deduplicate codec tags list 2021-02-23 11:24:00 +01:00
rso.h avformat/rso: Deduplicate codec tags list 2021-02-23 11:24:00 +01:00
rsodec.c avformat/rso: Deduplicate codec tags list 2021-02-23 11:24:00 +01:00
rsoenc.c avformat/rso: Deduplicate codec tags list 2021-02-23 11:24:00 +01:00
rtmp.h
rtmpcrypt.c avformat: Replace ffurl_close() by ffurl_closep() where appropriate 2020-05-25 13:11:36 +02:00
rtmpcrypt.h
rtmpdh.c libavformat: add mbedTLS based TLS 2018-05-21 19:43:04 -03:00
rtmpdh.h libavformat: add mbedTLS based TLS 2018-05-21 19:43:04 -03:00
rtmpdigest.c
rtmphttp.c avformat: Replace ffurl_close() by ffurl_closep() where appropriate 2020-05-25 13:11:36 +02:00
rtmppkt.c avformat/rtmppkt: Only compile ff_rtmp_packet_dump if defined(DEBUG) 2021-02-02 23:53:29 +01:00
rtmppkt.h avformat/rtmppkt: Remove ff_amf_read_bool 2021-02-02 23:53:29 +01:00
rtmpproto.c avformat/rtmpproto: Only include RTMP protocols that are enabled 2021-02-02 23:53:29 +01:00
rtp.c lavf: Constify AVOutputFormat pointer. 2019-03-20 18:38:48 +01:00
rtp.h
rtpdec.c avformat/rtpdec: use av_packet_alloc() to allocate packets 2021-03-17 15:19:16 -03:00
rtpdec.h avformat/rtpdec: Remove next pointer from Protocol Handlers 2021-01-24 11:19:10 +01:00
rtpdec_ac3.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
rtpdec_amr.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
rtpdec_asf.c lavf: Constify AVInputFormat pointer. 2019-03-20 18:52:38 +01:00
rtpdec_dv.c lavf/rtpdec*: Constify all RTPDynamicProtocolHandler. 2018-02-14 01:14:35 +01:00
rtpdec_formats.h lavf/rtpdec*: Constify all RTPDynamicProtocolHandler. 2018-02-14 01:14:35 +01:00
rtpdec_g726.c lavf/rtpdec*: Constify all RTPDynamicProtocolHandler. 2018-02-14 01:14:35 +01:00
rtpdec_h261.c lavf/rtpdec*: Constify all RTPDynamicProtocolHandler. 2018-02-14 01:14:35 +01:00
rtpdec_h263.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
rtpdec_h263_rfc2190.c lavf/rtpdec*: Constify all RTPDynamicProtocolHandler. 2018-02-14 01:14:35 +01:00
rtpdec_h264.c lavf/rtpdec*: Constify all RTPDynamicProtocolHandler. 2018-02-14 01:14:35 +01:00
rtpdec_hevc.c avformat/rtpdec_hevc: Don't reimplement ff_alloc_extradata 2019-12-12 19:25:33 +01:00
rtpdec_ilbc.c lavf/rtpdec*: Constify all RTPDynamicProtocolHandler. 2018-02-14 01:14:35 +01:00
rtpdec_jpeg.c lavf/rtpdec_jpeg: Fix JFIF version. 2020-08-25 19:29:34 +02:00
rtpdec_latm.c avformat: Don't free old extradata before ff_alloc/get_extradata 2019-12-12 19:25:33 +01:00
rtpdec_mpa_robust.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
rtpdec_mpeg4.c avformat: Don't free old extradata before ff_alloc/get_extradata 2019-12-12 19:25:33 +01:00
rtpdec_mpeg12.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
rtpdec_mpegts.c lavf/rtpdec*: Constify all RTPDynamicProtocolHandler. 2018-02-14 01:14:35 +01:00
rtpdec_qcelp.c lavf/rtpdec*: Constify all RTPDynamicProtocolHandler. 2018-02-14 01:14:35 +01:00
rtpdec_qdm2.c avformat: Don't free old extradata before ff_alloc/get_extradata 2019-12-12 19:25:33 +01:00
rtpdec_qt.c avformat/rtpdec: use av_packet_alloc() to allocate packets 2021-03-17 15:19:16 -03:00
rtpdec_rfc4175.c Revert "avformat/rtpdec_rfc4175: Fix incorrect copy_offset calculation" 2019-08-06 10:37:41 +02:00
rtpdec_svq3.c avformat: Don't free old extradata before ff_alloc/get_extradata 2019-12-12 19:25:33 +01:00
rtpdec_vc2hq.c lavf/rtpdec*: Constify all RTPDynamicProtocolHandler. 2018-02-14 01:14:35 +01:00
rtpdec_vp8.c lavf/rtpdec*: Constify all RTPDynamicProtocolHandler. 2018-02-14 01:14:35 +01:00
rtpdec_vp9.c lavf/rtpdec*: Constify all RTPDynamicProtocolHandler. 2018-02-14 01:14:35 +01:00
rtpdec_xiph.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
rtpenc.c avformat: use the buffer_size_t typedef where required 2021-03-10 20:26:36 -03:00
rtpenc.h Revert "avformat/utils: make ff_ntp_time() accept a timestamp as input argument" 2020-01-16 22:27:35 -03:00
rtpenc_aac.c
rtpenc_amr.c
rtpenc_chain.c lavf: Constify AVOutputFormat pointer. 2019-03-20 18:38:48 +01:00
rtpenc_chain.h
rtpenc_h261.c
rtpenc_h263.c
rtpenc_h263_rfc2190.c
rtpenc_h264_hevc.c
rtpenc_jpeg.c
rtpenc_latm.c
rtpenc_mpegts.c rtpenc_mpegts: add AVClass to the muxer context 2021-04-01 09:36:26 +05:30
rtpenc_mpv.c
rtpenc_vc2hq.c
rtpenc_vp8.c
rtpenc_vp9.c
rtpenc_xiph.c
rtpproto.c avformat/rtpproto: support for rtp read timeout 2020-10-22 20:53:56 +08:00
rtpproto.h libavformat: remove the ff_rtp_get_local_rtcp_port function 2018-01-06 18:34:55 +00:00
rtsp.c avformat/rtsp: support buffer_size and pkt_size options for RTP 2021-03-19 23:13:26 +01:00
rtsp.h avformat/rtsp: add satip_raw flag to receive raw mpegts stream 2020-12-28 14:08:44 -08:00
rtspcodes.h
rtspdec.c avformat/rtsp: add support for satip:// 2020-12-28 14:08:44 -08:00
rtspenc.c avformat/rtsp: prefer to use MAX_URL_SIZE for url and command buffer 2020-12-05 09:00:53 +08:00
s337m.c avformat: Remove unnecessary av_packet_unref() 2020-02-10 22:41:38 +01:00
samidec.c avformat/samidec: Deallocate hdr_buf 2021-03-14 23:29:51 +01:00
sapdec.c avformat: Replace ffurl_close() by ffurl_closep() where appropriate 2020-05-25 13:11:36 +02:00
sapenc.c avformat: Replace ffurl_close() by ffurl_closep() where appropriate 2020-05-25 13:11:36 +02:00
sauce.c
sauce.h
sbcdec.c avformat/rawdec: Make the raw packet size configurable 2019-07-17 23:18:50 +02:00
sbgdec.c avformat/sbgdec: Check for t0 overflow in expand_tseq() 2021-10-05 23:19:39 +02:00
sccdec.c avformat/sccdec: Don't use uninitialized data, fix crash, simplify logic 2022-01-11 15:15:53 +01:00
sccenc.c
sctp.c
sdp.c avformat/sdp: add missing FF_API_LAVF_AVCTX check 2020-10-01 22:45:34 -03:00
sdr2.c avformat: Remove unnecessary av_packet_unref() 2020-02-10 22:41:38 +01:00
sdsdec.c avformat/sdsdec: fix undefined behaviour 2019-09-25 18:01:09 +02:00
sdxdec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
segafilm.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
segafilmenc.c avformat/segafilmenc: Avoid seek when writing header 2020-07-26 17:10:06 +02:00
segment.c avformat: use the buffer_size_t typedef where required 2021-03-10 20:26:36 -03:00
serdec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
sga.c lavf/sga: Silence several warnings because of wrong format specifiers. 2021-03-04 22:22:36 +01:00
shortendec.c avformat/shortendec: Check k in probe 2019-10-16 19:17:57 +02:00
sierravmd.c avformat/sierravmd: Don't return packets for non-existing stream 2020-08-09 19:07:23 +02:00
siff.c avformat/siff: Reject audio packets without audio stream 2020-08-20 13:27:22 +02:00
smacker.c avformat/smacker: Check for too small pts_inc 2021-02-02 13:12:12 +01:00
smjpeg.c
smjpeg.h
smjpegdec.c avformat/smjpegdec: Check the existence of referred streams 2020-07-07 15:15:34 +02:00
smjpegenc.c avformat: remove avio_flush() calls from the end of write_header functions 2020-01-07 21:51:45 +01:00
smoothstreamingenc.c avformat/smoothstreaming: Add deinit function 2020-06-27 23:19:58 +02:00
smush.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
sol.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
sox.h
soxdec.c avformat/soxdec: Check channels to be positive 2021-02-02 13:12:12 +01:00
soxenc.c avformat: remove unneeded avio_flush() calls from the end of write_trailer functions 2020-01-07 21:51:45 +01:00
spdif.c
spdif.h
spdifdec.c avformat: Remove unnecessary av_packet_unref() 2020-02-10 22:41:38 +01:00
spdifenc.c avformat/spdifenc: Fix leak upon error 2021-02-27 04:27:09 +01:00
srtdec.c avformat/srtdec: Fix memleak upon read header failure 2020-06-15 16:54:06 +02:00
srtenc.c avformat: use the buffer_size_t typedef where required 2021-03-10 20:26:36 -03:00
srtp.c
srtp.h
srtpproto.c avformat: Replace ffurl_close() by ffurl_closep() where appropriate 2020-05-25 13:11:36 +02:00
stldec.c avformat/stldec: Fix memleak upon read header failure 2020-06-15 16:54:06 +02:00
subfile.c avformat: Replace ffurl_close() by ffurl_closep() where appropriate 2020-05-25 13:11:36 +02:00
subtitles.c avformat/subtitles: Honour ff_subtitles_read_line() documentation 2022-01-11 15:15:53 +01:00
subtitles.h avformat/subtitles: use av_packet_alloc() to allocate packets 2021-03-17 15:19:36 -03:00
subviewer1dec.c avformat/subviewer1dec: Fix memleak upon read header failure 2020-06-15 16:54:06 +02:00
subviewerdec.c avformat/subviewerdec: fail on AV_NOPTS_VALUE 2020-10-15 18:44:31 +02:00
supdec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
supenc.c lavf/supenc: Remove some unneeded casts. 2019-01-24 13:08:27 +01:00
svag.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
svs.c avformat/adp, svs: Remove redundant av_shrink_packet() 2021-03-12 17:13:10 +01:00
swf.c avformat/swf: add support for reading and writing VP6A and Flash Screen Video codecs 2021-01-23 20:10:05 +01:00
swf.h avformat/swf: Separate mux and demux contexts 2020-09-20 18:34:48 +02:00
swfdec.c avformat/swfdec: Check outlen before allocation 2021-03-08 22:08:49 +01:00
swfenc.c avformat/swf: add support for reading and writing VP6A and Flash Screen Video codecs 2021-01-23 20:10:05 +01:00
takdec.c avformat/rawdec: Make the raw packet size configurable 2019-07-17 23:18:50 +02:00
tcp.c avformat/tcp: re-add checks for setsockopt return values 2018-09-11 15:48:55 -03:00
tedcaptionsdec.c avformat/subtitles: use av_packet_alloc() to allocate packets 2021-03-17 15:19:36 -03:00
tee.c avformat/tee: Fix leak of FIFO-options dictionary 2022-01-11 15:15:53 +01:00
tee_common.c
tee_common.h
teeproto.c
thp.c avformat/thp: Check fps 2020-06-13 00:43:09 +02:00
tiertexseq.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
tls.c avformat/http,tls: honor http_proxy command line variable for HTTPS 2021-03-19 22:43:02 +01:00
tls.h avformat/http,tls: honor http_proxy command line variable for HTTPS 2021-03-19 22:43:02 +01:00
tls_gnutls.c tls: Hook up the url_get_short_seek function in the TLS backends 2020-11-05 09:22:17 +02:00
tls_libtls.c tls: Hook up the url_get_short_seek function in the TLS backends 2020-11-05 09:22:17 +02:00
tls_mbedtls.c tls: Hook up the url_get_short_seek function in the TLS backends 2020-11-05 09:22:17 +02:00
tls_openssl.c tls: Hook up the url_get_short_seek function in the TLS backends 2020-11-05 09:22:17 +02:00
tls_schannel.c tls: Hook up the url_get_short_seek function in the TLS backends 2020-11-05 09:22:17 +02:00
tls_securetransport.c All: update names in copyright headers 2021-01-20 01:02:56 -06:00
tmv.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
tta.c avformat/tta: Check for EOF in index reading loop 2021-09-08 21:31:50 +02:00
ttaenc.c avcodec/packet_internal: make avpriv_packet_list_* functions use an internal struct 2021-03-17 14:12:17 -03:00
ttmlenc.c avformat: add TTML muxer 2021-03-05 19:45:00 +02:00
tty.c lavf/tty: Reduce probe score to fix ffmetadata auto-detection. 2020-03-14 15:38:34 +01:00
txd.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
ty.c avformat/ty: Remove write-only array and variable 2020-08-11 16:44:11 +02:00
udp.c lavf/udp: do not return an uninitialized value from udp_open() 2022-01-11 09:17:23 +01:00
uncodedframecrcenc.c
unix.c avformat/unix: fix handling of EOF in case of SOCK_STREAM. 2018-03-21 19:02:06 +01:00
url.c avformat/url: add ff_make_absolulte_url2 to be able to test windows path cases 2021-04-08 17:38:06 +02:00
url.h avformat/url: add ff_make_absolulte_url2 to be able to test windows path cases 2021-04-08 17:38:06 +02:00
urldecode.c avformat/urldecode: add the ability to not decode plus sign to space 2020-02-15 18:41:36 +01:00
urldecode.h avformat/urldecode: add the ability to not decode plus sign to space 2020-02-15 18:41:36 +01:00
utils.c avformat/utils: Ignore negative duration in codec_info_duration computation 2021-10-05 23:19:39 +02:00
v210.c
vag.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
vapoursynth.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
vc1dec.c lavf/vc1dec: Reduce probe score for streams with invalid frames. 2019-04-19 14:06:29 +02:00
vc1test.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
vc1testenc.c avformat: remove unneeded avio_flush() calls from the end of write_trailer functions 2020-01-07 21:51:45 +01:00
version.h Bump Versions before release/4.4 branch 2021-03-20 01:01:12 +01:00
vividas.c avformat/vividas: Fix crash when seeking without audio stream 2021-04-03 07:20:39 +02:00
vivo.c avformat/vivo: set packet duration 2020-02-20 14:41:26 +01:00
voc.c avformat/Makefile: Remove unnecessary dependencies on vocdec 2021-02-23 21:12:26 +01:00
voc.h avformat/voc: Deduplicate codec tags list 2021-02-23 11:23:29 +01:00
voc_packet.c avformat/voc_packet: prevent remaining size from becoming negative in ff_voc_get_packet() 2021-03-14 23:29:51 +01:00
vocdec.c Revert "lavf: move AVStream.*index_entries* to AVStreamInternal" 2021-03-23 14:09:27 -03:00
vocenc.c avformat/voc: Deduplicate codec tags list 2021-02-23 11:23:29 +01:00
vorbiscomment.c avformat/vorbiscomment: Switch to AVIOContext from bytestream API 2020-05-03 13:43:54 +02:00
vorbiscomment.h avformat/vorbiscomment: Switch to AVIOContext from bytestream API 2020-05-03 13:43:54 +02:00
vpcc.c avformat/vpcc: fix values in VP9 level detection heuristics 2018-09-15 18:06:58 -03:00
vpcc.h avformat/vpcc: Calculate VP9 level from Luma's Sample rate and Picture size 2018-04-26 14:23:08 +05:30
vpk.c avformat/vpk: check that samples_per_block is > 0 2021-02-24 17:04:40 +01:00
vplayerdec.c avformat/vplayerdec: Fix memleak upon read header failure 2020-06-15 16:54:06 +02:00
vqf.c avformat/vqf: Check len for COMM chunks 2020-12-05 00:08:33 +01:00
w64.c
w64.h
wavdec.c avformat/wavdec: Check smv_block_size 2021-10-21 19:21:14 +02:00
wavenc.c avformat/wavenc: Fix leak and segfault on reallocation error 2021-02-27 04:27:09 +01:00
wc3movie.c avformat/wc3movie: use av_packet_alloc() to allocate packets 2021-03-17 15:19:36 -03:00
webm_chunk.c avformat/webm_chunk: Open AVIOContext before initializing sub-muxer 2020-05-23 07:15:35 +02:00
webmdashenc.c avformat/webmdashenc: Don't pass NULL to memcmp 2021-04-02 21:38:12 +02:00
webpenc.c avformat/webpenc: Fix memleak when trailer is never written 2021-04-02 21:35:42 +02:00
webvttdec.c avformat/webvttdec: Accept \r as newline 2020-06-26 07:48:10 +02:00
webvttenc.c avformat: use the buffer_size_t typedef where required 2021-03-10 20:26:36 -03:00
westwood_aud.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
westwood_vqa.c avformat: Forward errors where possible 2019-12-12 19:25:33 +01:00
wsddec.c avformat: use av_timecode_make_smpte_tc_string2 2020-09-13 17:51:57 +02:00
wtv.h
wtv_common.c
wtvdec.c avformat/wtvdec: Check for EOF before seeking back in parse_media_type() 2021-09-08 21:31:50 +02:00
wtvenc.c avformat/avienc, wtvenc: Deduplicate codec tags list 2021-02-23 11:30:57 +01:00
wv.c
wv.h
wvdec.c avformat/wvdec: Check rate for overflow 2020-09-21 11:53:25 +02:00
wvedec.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
wvenc.c
xa.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
xmv.c avformat: Don't free old extradata before ff_alloc/get_extradata 2019-12-12 19:25:33 +01:00
xvag.c lavf: Constify the probe function argument. 2019-03-21 11:42:17 +01:00
xwma.c avformat/xwma: Check for EOF in dpds_table read code 2020-10-30 17:46:34 +01:00
yop.c avformat/yop: Use av_packet_move_ref() for packet ownership transfer 2020-03-26 20:51:34 +01:00
yuv4mpeg.h
yuv4mpegdec.c avformat/yuv4mpegdec: add support for 444alpha 2020-03-19 17:34:31 +01:00
yuv4mpegenc.c avformat/yuv4mpegenc: Add const where appropriate 2020-09-04 17:34:44 +02:00