FFmpeg/libavformat
Andreas Rheinhardt a68a6322b7 avformat/mpegenc: Fix ever growing FIFO and infinite loop on error
Since the switch to the new FIFO API in commit
ea511196a6, the FIFO is always
grown by the amount of data intended to be written into it
even in case the FIFO has enough free space. Fix this by
only growing the FIFO if needed and then only by the amount that is
actually needed.

The allocation errors that resulted from this uncovered another bug:
The context is left in an inconsistent state in case the FIFO can't
be grown, because the FIFO does not contain as much data as the sizes
contained in the PacketDesc list claim. This led to an infinite loop
in output_packet() (called from mpeg_mux_end()).

Fix this by growing the FIFO before adding a new PacketDesc element,
thereby preventing the context from becoming inconsistent.

Reported-by: Nicolas Gaullier <nicolas.gaullier@cji.paris>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-04-05 21:52:11 +02:00
..
tests avformat/test/seek: set ch_layout instead of channels 2022-03-22 08:45:38 -03:00
.gitignore
3dostr.c 3dostr: convert to new channel layout API 2022-03-15 09:42:29 -03:00
4xm.c 4xm: convert to new channel layout API 2022-03-15 09:42:29 -03:00
a64.c avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
aacdec.c avformat/aacdec: enable probesize-sized resyncs mid-stream 2021-09-28 23:02:20 +03:00
aadec.c aa: convert to new channel layout API 2022-03-15 09:42:29 -03:00
aaxdec.c aax: convert to new channel layout API 2022-03-15 09:42:29 -03:00
ac3_channel_layout_tab.c avcodec/ac3tab: Unavpriv ac3_channel_layout_tab 2022-01-04 13:16:49 +01:00
ac3dec.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
acedec.c ace: convert to new channel layout API 2022-03-15 09:42:29 -03:00
acm.c acm: convert to new channel layout API 2022-03-15 09:42:29 -03:00
act.c avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
adp.c adp: convert to new channel layout API 2022-03-15 09:42:29 -03:00
ads.c ads: convert to new channel layout API 2022-03-15 09:42:29 -03:00
adtsenc.c
adxdec.c adxdec: convert to new channel layout API 2022-03-15 09:42:29 -03:00
aea.c aea: convert to new channel layout API 2022-03-15 09:42:30 -03:00
afc.c afc: convert to new channel layout API 2022-03-15 09:42:30 -03:00
aiff.c
aiff.h
aiffdec.c aiff: convert to new channel layout API 2022-03-15 09:42:30 -03:00
aiffenc.c aiff: convert to new channel layout API 2022-03-15 09:42:30 -03:00
aixdec.c aixdec: convert to new channel layout API 2022-03-15 09:42:30 -03:00
allformats.c avformat: add DFPWM raw format 2022-03-10 14:11:12 +01:00
alp.c avformat/alp: Check num_channels 2022-03-27 11:58:54 +02:00
amr.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
amvenc.c amv: convert to new channel layout API 2022-03-15 09:42:30 -03:00
anm.c
apc.c apc: convert to new channel layout API 2022-03-15 09:42:30 -03:00
ape.c ape: convert to new channel layout API 2022-03-15 09:42:30 -03:00
apetag.c
apetag.h
apm.c avformat/apm: Check channels 2022-03-27 11:59:51 +02:00
apngdec.c
apngenc.c avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
aptxdec.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
aqtitledec.c avformat/aqtitledec: Skip unrepresentable durations 2022-03-27 11:59:52 +02:00
argo_asf.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
argo_asf.h Remove unnecessary libavutil/(avutil|common|internal).h inclusions 2022-02-24 12:56:49 +01:00
argo_brp.c
argo_cvg.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
asf.c
asf.h
asfcrypt.c Remove unnecessary libavutil/(avutil|common|internal).h inclusions 2022-02-24 12:56:49 +01:00
asfcrypt.h
asfdec_f.c libavformat/asfdec: Add braces to define 2021-09-30 14:02:27 +02:00
asfdec_o.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
asfenc.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
assdec.c all: Remove unnecessary libavcodec/internal.h inclusions 2022-02-08 06:16:26 +01:00
assenc.c
ast.c
ast.h
astdec.c ast: convert to new channel layout API 2022-03-15 09:42:30 -03:00
astenc.c ast: convert to new channel layout API 2022-03-15 09:42:30 -03:00
async.c lavf/async: switch to new FIFO API 2022-02-07 00:31:23 +01:00
au.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
av1.c avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
av1.h avformat/av1: Document actual behaviour of ff_av1_filter_obus() 2022-01-19 11:57:58 +01:00
av1dec.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
avc.c avformat/avc: Add functions to split access unit into list of NALUs 2022-01-19 12:02:36 +01:00
avc.h avutil/log: Don't include avutil.h 2022-02-24 12:56:49 +01:00
avformat.h Keep including the full version.h when headers are included externally 2022-03-19 00:01:57 +02:00
avformatres.rc
avi.h
avidec.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
avienc.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
avio_internal.h avformat/aviobuf: ffio_copy_url_options 2021-12-19 00:35:24 +10:00
avio.c
avio.h libavformat: Split version.h 2022-03-16 14:05:26 +02:00
aviobuf.c avformat/aviobuf: ffio_copy_url_options 2021-12-19 00:35:24 +10:00
avisynth.c avformat/avisynth: fix fallbacks for four frameprops 2022-03-02 17:45:40 -05:00
avlanguage.c Remove unnecessary libavutil/(avutil|common|internal).h inclusions 2022-02-24 12:56:49 +01:00
avlanguage.h
avr.c avr: convert to new channel layout API 2022-03-15 09:42:30 -03:00
avs2dec.c avcodec/internal.h: Move avpriv_find_start_code() to startcode.h 2022-02-08 06:22:14 +01:00
avs3dec.c avcodec/internal.h: Move avpriv_find_start_code() to startcode.h 2022-02-08 06:22:14 +01:00
avs.c
bethsoftvid.c bethsoftvid: convert to new channel layout API 2022-03-15 09:42:30 -03:00
bfi.c bfi: convert to new channel layout API 2022-03-15 09:42:30 -03:00
bink.c bink: convert to new channel layout API 2022-03-15 09:42:30 -03:00
binka.c bink: convert to new channel layout API 2022-03-15 09:42:30 -03:00
bintext.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
bit.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
bluray.c
bmv.c bmv: convert to new channel layout API 2022-03-15 09:42:31 -03:00
boadec.c avformat/boadec: fix check for invalid channel count 2022-03-17 16:52:08 -03:00
brstm.c brstm: convert to new channel layout API 2022-03-15 09:42:31 -03:00
c93.c
cache.c
caf.c
caf.h
cafdec.c avformat/cafdec: Do not store empty keys in read_info_chunk() 2022-03-27 11:59:51 +02:00
cafenc.c caf: convert to new channel layout API 2022-03-15 09:42:31 -03:00
cavsvideodec.c avcodec/internal.h: Move avpriv_find_start_code() to startcode.h 2022-02-08 06:22:14 +01:00
cdg.c
cdxl.c cdxl: convert to new channel layout API 2022-03-15 09:42:31 -03:00
chromaprint.c avcodec, avformat: Remove unnecessary inclusions of lavc/internal.h 2022-03-23 23:45:39 +01:00
cinedec.c avformat/cinedec: Avoid repeatedly allocating packets beyond the input 2021-12-16 22:31:13 +01:00
codec2.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
concat.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
concatdec.c avformat/concat: refactor to use ff_rescale_interval() 2022-03-19 21:34:08 +10:00
crcenc.c avformat/crcenc: Make init function out of write_header 2021-12-20 14:29:01 +01:00
crypto.c
dash.c
dash.h
dashdec.c avformat/dashdec: avoid calling strlen multiple times 2022-01-30 13:26:35 +08:00
dashenc.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
data_uri.c avutil/log: Don't include avutil.h 2022-02-24 12:56:49 +01:00
dauddec.c dash: convert to new channel layout API 2022-03-15 09:42:31 -03:00
daudenc.c dash: convert to new channel layout API 2022-03-15 09:42:31 -03:00
dca_sample_rate_tab.c avcodec/dca: Unavpriv dca_sample_rates 2022-01-04 13:16:49 +01:00
dcstr.c dcstr: convert to new channel layout API 2022-03-15 09:42:31 -03:00
demux.c avformat: Do not search through the AVOption table for a option not in it repeatedly on each packet 2022-03-27 11:58:54 +02:00
derf.c derf: convert to new channel layout API 2022-03-15 09:42:31 -03:00
dfa.c
dfpwmdec.c avformat/dfpwmdec: add support to set channel layout 2022-03-22 08:45:38 -03:00
dhav.c dhav: convert to new channel layout API 2022-03-15 09:42:31 -03:00
diracdec.c
dnxhddec.c
dovi_isom.c avformat/dovi_isom: Implement Dolby Vision configuration parsing/writing 2022-01-04 04:29:36 +01:00
dovi_isom.h avformat/dovi_isom: Implement Dolby Vision configuration parsing/writing 2022-01-04 04:29:36 +01:00
dsfdec.c dsfdec: convert to new channel layout API 2022-03-15 09:42:31 -03:00
dsicin.c dsicin: convert to new channel layout API 2022-03-15 09:42:31 -03:00
dss.c dss: convert to new channel layout API 2022-03-15 09:42:31 -03:00
dtsdec.c
dtshddec.c dtshddec: convert to new channel layout API 2022-03-15 09:42:31 -03:00
dump.c lavf: Add non diegetic stream disposition flag 2022-03-15 09:42:46 -03:00
dv.c dv: convert to new channel layout API 2022-03-15 09:42:31 -03:00
dv.h
dvbsub.c
dvbtxt.c
dvenc.c dv: convert to new channel layout API 2022-03-15 09:42:31 -03:00
dxa.c
eacdata.c eac: convert to new channel layout API 2022-03-15 09:42:31 -03:00
electronicarts.c electronicarts: convert to new channel layout API 2022-03-15 09:42:32 -03:00
epafdec.c epafdec: convert to new channel layout API 2022-03-15 09:42:32 -03:00
ffmeta.h
ffmetadec.c
ffmetaenc.c
fifo_test.c
fifo.c avformat: introduce AVFormatContext io_close2 which returns an int 2021-12-12 00:32:20 +01:00
file_open.c
file.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
filmstripdec.c
filmstripenc.c avformat/filmstripenc: Simplify writing reserved elements 2021-09-27 06:06:08 +02:00
fitsdec.c
fitsenc.c
flac_picture.c avformat/flac_picture: Reindentation 2021-08-28 15:25:18 +02:00
flac_picture.h avformat/flac_picture: Try to reuse buffer for attached picture 2021-08-28 15:25:18 +02:00
flacdec.c flac: convert to new channel layout API 2022-03-15 09:42:32 -03:00
flacenc_header.c
flacenc.c libavformat: Split version.h 2022-03-16 14:05:26 +02:00
flacenc.h avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
flic.c flic: convert to new channel layout API 2022-03-15 09:42:32 -03:00
flv.h
flvdec.c avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
flvenc.c flv: convert to new channel layout API 2022-03-15 09:42:32 -03:00
format.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
framecrcenc.c
framehash.c libavformat: Split version.h 2022-03-16 14:05:26 +02:00
frmdec.c avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
fsb.c fsb: convert to new channel layout API 2022-03-15 09:42:32 -03:00
ftp.c lavf/ftp: check for truncation in snprintf 2021-12-07 11:16:14 +01:00
fwse.c fwse: convert to new channel layout API 2022-03-15 09:42:32 -03:00
g722.c g722: convert to new channel layout API 2022-03-15 09:42:33 -03:00
g723_1.c g723_1: convert to new channel layout API 2022-03-15 09:42:33 -03:00
g726.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
g729dec.c g729: convert to new channel layout API 2022-03-15 09:42:33 -03:00
gdv.c gdv: convert to new channel layout API 2022-03-15 09:42:33 -03:00
genh.c avcodec, avformat: Remove unnecessary inclusions of lavc/internal.h 2022-03-23 23:45:39 +01:00
gif.c
gifdec.c
golomb_tab.c
gopher.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
gsmdec.c gsm: convert to new channel layout API 2022-03-15 09:42:33 -03:00
gxf.c avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
gxf.h
gxfenc.c gxf: convert to new channel layout API 2022-03-15 09:42:33 -03:00
h261dec.c avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
h263dec.c
h264dec.c all: Remove unnecessary libavcodec/internal.h inclusions 2022-02-08 06:16:26 +01:00
hashenc.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
hca.c hca: convert to new channel layout API 2022-03-15 09:42:33 -03:00
hcom.c hcom: convert to new channel layout API 2022-03-15 09:42:33 -03:00
hdsenc.c avformat: do not use AVIO_FLAG_* with avio_alloc_context 2021-12-04 14:06:30 +01:00
hevc.c
hevc.h
hevcdec.c
hls_sample_encryption.c avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
hls_sample_encryption.h avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
hls.c avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
hlsenc.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
hlsplaylist.c
hlsplaylist.h Remove unnecessary libavutil/(avutil|common|internal).h inclusions 2022-02-24 12:56:49 +01:00
hlsproto.c
hnm.c
http.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
http.h
httpauth.c avformat/utils: Make ff_data_to_hex() zero-terminate the string 2021-12-08 00:42:48 +01:00
httpauth.h
icecast.c
icodec.c avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
icoenc.c avformat/icoenc: Use avcodec_get_name() instead of codec descriptor 2021-09-27 07:08:59 +02:00
id3v1.c
id3v1.h
id3v2.c avformat/id3v2: Add Grouping frame to id3v2.4 metadata table 2022-02-15 10:15:25 +01:00
id3v2.h
id3v2enc.c
idcin.c idcin: convert to new channel layout API 2022-03-15 09:42:33 -03:00
idroqdec.c idroq: convert to new channel layout API 2022-03-15 09:42:33 -03:00
idroqenc.c
iff.c iff: convert to new channel layout API 2022-03-15 09:42:33 -03:00
ifv.c ifv: convert to new channel layout API 2022-03-15 09:42:33 -03:00
ilbc.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
imf_cpl.c avformat/imf_cpl: do not use filesize when reading XML file 2022-02-05 10:40:31 +01:00
imf.h avformat/imf: Demuxer 2021-12-31 17:26:01 +10:00
imfdec.c avformat/imf: refactor to use ff_rescale_interval() 2022-03-19 21:34:06 +10:00
img2_alias_pix.c
img2_brender_pix.c
img2.c avformat/img2dec: add GEM Raster image demuxer 2021-10-08 20:37:36 +11:00
img2.h
img2dec.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
img2enc.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
imx.c imx: convert to new channel layout API 2022-03-15 09:42:33 -03:00
ingenientdec.c
internal.h avformat: Do not search through the AVOption table for a option not in it repeatedly on each packet 2022-03-27 11:58:54 +02:00
ip.c avutil/log: Don't include avutil.h 2022-02-24 12:56:49 +01:00
ip.h
ipmovie.c ipmovie: convert to new channel layout API 2022-03-15 09:42:33 -03:00
ipudec.c all: Remove unnecessary libavcodec/internal.h inclusions 2022-02-08 06:16:26 +01:00
ircam.c
ircam.h
ircamdec.c ircam: convert to new channel layout API 2022-03-15 09:42:33 -03:00
ircamenc.c ircam: convert to new channel layout API 2022-03-15 09:42:33 -03:00
isom_tags.c avformat/isom_tags: fix 'ipcm' with samplesize equal to 16 2021-11-03 17:45:02 +01:00
isom.c mov: convert to new channel layout API 2022-03-15 09:42:34 -03:00
isom.h avformat/mov: fix seeking with HEVC open GOP files 2022-03-04 15:50:51 +01:00
iss.c iss: convert to new channel layout API 2022-03-15 09:42:33 -03:00
iv8.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
ivfdec.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
ivfenc.c
jacosubdec.c all: Remove unnecessary libavcodec/internal.h inclusions 2022-02-08 06:16:26 +01:00
jacosubenc.c avformat/jacosubenc: Fix writing extradata 2021-09-25 23:11:56 +02:00
jpegtables.c avcodec/jpegtables: Unavpriv MJPEG-tables 2022-01-04 13:16:50 +01:00
jvdec.c jvdec: convert to new channel layout API 2022-03-15 09:42:34 -03:00
kvag.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
latmenc.c avformat/avformat: Add AVStream parameter to check_bitstream() sig 2021-11-27 12:55:41 +01:00
libamqp.c
libavformat.v
libgme.c libgme: convert to new channel layout API 2022-03-15 09:42:34 -03:00
libmodplug.c libmodplug: convert to new channel layout API 2022-03-15 09:42:34 -03:00
libopenmpt.c libopenmpt: convert to new channel layout API 2022-03-15 09:42:34 -03:00
librist.c avformat/librist: correctly initialize logging_settings 2021-11-18 20:40:24 +01:00
librtmp.c
libsmbclient.c
libsrt.c avformat/libsrt: use a larger buffer for find_info_tag 2022-03-30 10:30:02 +08:00
libssh.c
libzmq.c
lmlm4.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
loasdec.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
log2_tab.c
lrc.c
lrc.h
lrcdec.c
lrcenc.c avformat/lrcenc: Unify writing timestamps 2021-10-07 11:55:55 +02:00
luodatdec.c
lvfdec.c lvf: convert to new channel layout API 2022-03-15 09:42:34 -03:00
lxfdec.c lxfdec: convert to new channel layout API 2022-03-15 09:42:34 -03:00
m4vdec.c
Makefile avformat/tests: add test for ff_rescale_interval() 2022-03-19 21:34:04 +10:00
matroska.c Add MKV tags for AVS2 and AVS3 codecs. 2022-02-03 05:07:44 +01:00
matroska.h Remove unnecessary libavutil/(avutil|common|internal).h inclusions 2022-02-24 12:56:49 +01:00
matroskadec.c avformat/matroskadec: Check pre_ns 2022-03-18 19:56:50 +01:00
matroskaenc.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
mca.c mca: convert to new channel layout API 2022-03-15 09:42:34 -03:00
mccdec.c
md5proto.c avformat/md5proto: Simplify data->hex conversion 2021-12-08 14:15:53 +01:00
metadata.c
metadata.h
mgsts.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
microdvddec.c
microdvdenc.c
mj2kdec.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
mkvtimestamp_v2.c
mlpdec.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
mlvdec.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
mm.c mm: convert to new channel layout API 2022-03-15 09:42:34 -03:00
mmf.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
mms.c
mms.h
mmsh.c
mmst.c avformat/avio: Move internal AVIOContext fields to avio_internal.h 2021-08-25 23:01:54 +02:00
mods.c
moflex.c moflex: convert to new channel layout API 2022-03-15 09:42:34 -03:00
mov_chan.c avformat/mov_chan: move the definition of MovChannelLayoutTag to the header 2022-04-05 09:19:59 -03:00
mov_chan.h avformat/mov_chan: move the definition of MovChannelLayoutTag to the header 2022-04-05 09:19:59 -03:00
mov_esds.c
mov.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
movenc_ttml.c avcodec/packet_internal: Add proper PacketList struct 2022-01-04 13:16:50 +01:00
movenc_ttml.h avformat/movenc: add support for TTML muxing 2021-08-25 09:26:46 +03:00
movenc.c avformat/movenc: don't use mono layout when a front center label is expected 2022-04-05 09:19:59 -03:00
movenc.h avformat/movenc: don't use mono layout when a front center label is expected 2022-04-05 09:19:59 -03:00
movenccenc.c
movenccenc.h
movenchint.c avformat/movenchint: Simplify writing padding 2021-09-24 00:13:49 +02:00
mp3dec.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
mp3enc.c mp3: convert to new channel layout API 2022-03-15 09:42:34 -03:00
mpc8.c mpc8: convert to new channel layout API 2022-03-15 09:42:34 -03:00
mpc.c mpc: convert to new channel layout API 2022-03-15 09:42:34 -03:00
mpeg4audio_sample_rates.c avcodec/mpeg4audio: Unavpriv and deduplicate mpeg4audio_sample_rates 2022-01-04 13:16:50 +01:00
mpeg.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
mpeg.h
mpegaudiotabs.c avcodec/mpegaudiodata: Unavpriv mpa_bitrate and mpa_frequency tabs 2022-01-04 13:16:50 +01:00
mpegenc.c avformat/mpegenc: Fix ever growing FIFO and infinite loop on error 2022-04-05 21:52:11 +02:00
mpegts.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
mpegts.h avformat/mpegts: add support for stream_type 0xd4, which is AVS3 2021-10-20 22:40:13 +08:00
mpegtsenc.c mpegtsenc: convert to new channel layout API 2022-03-15 09:42:35 -03:00
mpegvideodec.c avcodec/internal.h: Move avpriv_find_start_code() to startcode.h 2022-02-08 06:22:14 +01:00
mpjpeg.c
mpjpegdec.c avformat/avio: Move internal AVIOContext fields to avio_internal.h 2021-08-25 23:01:54 +02:00
mpl2dec.c
mpsubdec.c
msf.c msf: convert to new channel layout API 2022-03-15 09:42:35 -03:00
msnwc_tcp.c
mspdec.c
mtaf.c mtaf: convert to new channel layout API 2022-03-15 09:42:35 -03:00
mtv.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
musx.c musx: convert to new channel layout API 2022-03-15 09:42:35 -03:00
mux.c libavformat: Split version.h 2022-03-16 14:05:26 +02:00
mvdec.c mvdec: convert to new channel layout API 2022-03-15 09:42:35 -03:00
mvi.c mvi: convert to new channel layout API 2022-03-15 09:42:35 -03:00
mxf.c
mxf.h avformat/mxfdec: support MCA audio information 2022-01-09 18:13:53 +01:00
mxfdec.c avformat/mxfdec: Do not clear array in mxf_read_strong_ref_array() before writing 2022-03-21 22:27:14 +01:00
mxfenc.c avformat/mxfenc: do not write index tables with the same InstanceUID 2022-03-16 21:37:53 +01:00
mxg.c mxg: convert to new channel layout API 2022-03-15 09:42:35 -03:00
ncdec.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
network.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
network.h lavf/network: log ff_listen() errors to proper contexts rather than NULL 2022-01-21 09:25:05 +01:00
nistspheredec.c nistspheredec: convert to new channel layout API 2022-03-15 09:42:35 -03:00
nspdec.c nspdec: convert to new channel layout API 2022-03-15 09:42:35 -03:00
nsvdec.c nsvdec: convert to new channel layout API 2022-03-15 09:42:35 -03:00
nullenc.c avformat/nullenc: Use ff_interleave_packet_passthrough() 2021-11-19 18:11:46 +01:00
nut.c
nut.h
nutdec.c nutdec: convert to new channel layout API 2022-03-15 09:42:35 -03:00
nutenc.c libavformat: Split version.h 2022-03-16 14:05:26 +02:00
nuv.c nuv: convert to new channel layout API 2022-03-15 09:42:35 -03:00
oggdec.c avformat: Avoid allocation for AVFormatInternal 2021-09-17 04:58:34 +02:00
oggdec.h avformat/oggparsevorbis: Avoid tmp bufs when parsing VorbisComment 2021-08-28 15:25:18 +02:00
oggenc.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
oggparsecelt.c ogg: convert to new channel layout API 2022-03-15 09:42:35 -03:00
oggparsedirac.c
oggparseflac.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
oggparseogm.c ogg: convert to new channel layout API 2022-03-15 09:42:35 -03:00
oggparseopus.c ogg: convert to new channel layout API 2022-03-15 09:42:35 -03:00
oggparseskeleton.c avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
oggparsespeex.c avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
oggparsetheora.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
oggparsevorbis.c ogg: convert to new channel layout API 2022-03-15 09:42:35 -03:00
oggparsevp8.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
oma.c
oma.h oma: convert to new channel layout API 2022-03-15 09:42:35 -03:00
omadec.c oma: convert to new channel layout API 2022-03-15 09:42:35 -03:00
omaenc.c oma: convert to new channel layout API 2022-03-15 09:42:35 -03:00
options_table.h avformat/avformat: Add AVFMT_AVOID_NEG_TS_DISABLED 2022-01-21 16:47:38 +01:00
options.c avformat/mux: Preserve sync even if later packet has negative ts 2022-01-21 16:47:38 +01:00
os_support.c
os_support.h
paf.c paf: convert to new channel layout API 2022-03-15 09:42:35 -03:00
pcm.c pcm: convert to new channel layout API 2022-03-15 09:42:36 -03:00
pcm.h
pcmdec.c avformat/pcmdec: add support to set channel layout in sln demuxer 2022-03-22 08:45:38 -03:00
pcmenc.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
pjsdec.c
pmpdec.c pmp: convert to new channel layout API 2022-03-15 09:42:36 -03:00
pp_bnk.c pp_bnk: convert to new channel layout API 2022-03-15 09:42:36 -03:00
prompeg.c
protocols.c avcodec/zlib_wrapper: Add wrapper for deflateInit() 2022-03-19 00:18:36 +01:00
psxstr.c psxstr: convert to new channel layout API 2022-03-15 09:42:36 -03:00
pva.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
pvfdec.c pvf: convert to new channel layout API 2022-03-15 09:42:36 -03:00
qcp.c qcp: convert to new channel layout API 2022-03-15 09:42:36 -03:00
qtpalette.c
qtpalette.h
r3d.c r3d: convert to new channel layout API 2022-03-15 09:42:36 -03:00
rawdec.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
rawdec.h avformat/rawdec: Make ff_raw_data_read_header() static 2021-09-08 22:59:14 +02:00
rawenc.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
rawenc.h
rawutils.c
rawvideodec.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
rdt.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
rdt.h
realtextdec.c
redspark.c redspark: convert to new channel layout API 2022-03-15 09:42:36 -03:00
replaygain.c
replaygain.h
riff.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
riff.h
riffdec.c riff: convert to new channel layout API 2022-03-15 09:42:36 -03:00
riffenc.c riff: convert to new channel layout API 2022-03-15 09:42:36 -03:00
rl2.c rl2: convert to new channel layout API 2022-03-15 09:42:36 -03:00
rm.c
rm.h
rmdec.c rm: convert to new channel layout API 2022-03-15 09:42:36 -03:00
rmenc.c rm: convert to new channel layout API 2022-03-15 09:42:36 -03:00
rmsipr.c
rmsipr.h
rpl.c rpl: convert to new channel layout API 2022-03-15 09:42:36 -03:00
rsd.c avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
rso.c
rso.h
rsodec.c rso: convert to new channel layout API 2022-03-15 09:42:36 -03:00
rsoenc.c rso: convert to new channel layout API 2022-03-15 09:42:36 -03:00
rtmp.h
rtmpcrypt.c
rtmpcrypt.h
rtmpdh.c
rtmpdh.h
rtmpdigest.c
rtmphttp.c
rtmppkt.c
rtmppkt.h
rtmpproto.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
rtp.c rtp: convert to new channel layout API 2022-03-15 09:42:36 -03:00
rtp.h lavf/sdp: add const qualifiers where appropriate 2021-12-17 10:22:41 +01:00
rtpdec_ac3.c
rtpdec_amr.c rtp: convert to new channel layout API 2022-03-15 09:42:36 -03:00
rtpdec_asf.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
rtpdec_dv.c avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
rtpdec_formats.h
rtpdec_g726.c
rtpdec_h261.c avformat/rtpdec: return value check for init_get_bits() 2022-01-30 13:26:35 +08:00
rtpdec_h263_rfc2190.c avformat/rtpdec: return value check for init_get_bits() 2022-01-30 13:26:35 +08:00
rtpdec_h263.c
rtpdec_h264.c
rtpdec_hevc.c avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
rtpdec_ilbc.c
rtpdec_jpeg.c avcodec/jpegtables: Unavpriv MJPEG-tables 2022-01-04 13:16:50 +01:00
rtpdec_latm.c avformat/rtpdec: return value check for init_get_bits() 2022-01-30 13:26:35 +08:00
rtpdec_mpa_robust.c
rtpdec_mpeg4.c avformat/rtpdec: return value check for init_get_bits() 2022-01-30 13:26:35 +08:00
rtpdec_mpeg12.c
rtpdec_mpegts.c
rtpdec_qcelp.c
rtpdec_qdm2.c
rtpdec_qt.c avformat/rtpdec: return value check for init_get_bits() 2022-01-30 13:26:35 +08:00
rtpdec_rfc4175.c avformat/rtpdec_rfc4175: fix interlace format 2022-02-05 11:40:40 +08:00
rtpdec_svq3.c
rtpdec_vc2hq.c
rtpdec_vp8.c avformat: Remove unnecessary inclusions from libavcodec 2022-03-23 23:45:39 +01:00
rtpdec_vp9.c
rtpdec_xiph.c
rtpdec.c rtp: convert to new channel layout API 2022-03-15 09:42:36 -03:00
rtpdec.h avformat/rtpdec: Make ff_rtp_handler_iterate() static 2021-09-08 22:59:14 +02:00
rtpenc_aac.c
rtpenc_amr.c
rtpenc_chain.c
rtpenc_chain.h
rtpenc_h261.c
rtpenc_h263_rfc2190.c
rtpenc_h263.c
rtpenc_h264_hevc.c
rtpenc_jpeg.c avcodec/jpegtables: Unavpriv MJPEG-tables 2022-01-04 13:16:50 +01:00
rtpenc_latm.c
rtpenc_mpegts.c
rtpenc_mpv.c avcodec/internal.h: Move avpriv_find_start_code() to startcode.h 2022-02-08 06:22:14 +01:00
rtpenc_rfc4175.c avformat/rtpenc_rfc4175: support for interlace format 2022-01-12 09:21:07 +08:00
rtpenc_vc2hq.c
rtpenc_vp8.c rtpenc_vp8: Use 15-bit PictureIDs 2022-03-26 00:42:00 +02:00
rtpenc_vp9.c
rtpenc_xiph.c
rtpenc.c rtp: convert to new channel layout API 2022-03-15 09:42:36 -03:00
rtpenc.h avformat/rtpenc_rfc4175: support for interlace format 2022-01-12 09:21:07 +08:00
rtpproto.c avformat/rtpproto: set ttl upper bound to 255 2022-02-06 23:04:59 +01:00
rtpproto.h
rtsp.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
rtsp.h rtp: convert to new channel layout API 2022-03-15 09:42:36 -03:00
rtspcodes.h
rtspdec.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
rtspenc.c avformat/rtsp: add error code handling for ff_rtsp_skip_packet() 2021-12-07 20:33:17 +08:00
s337m.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
samidec.c all: Remove unnecessary libavcodec/internal.h inclusions 2022-02-08 06:16:26 +01:00
sapdec.c avformat/avio: Move internal AVIOContext fields to avio_internal.h 2021-08-25 23:01:54 +02:00
sapenc.c Replace all occurences of av_mallocz_array() by av_calloc() 2021-09-20 01:03:52 +02:00
sauce.c
sauce.h
sbcdec.c
sbgdec.c sbg: convert to new channel layout API 2022-03-15 09:42:36 -03:00
sccdec.c avformat/sccdec: Remove nonsense cast 2021-10-07 11:52:10 +02:00
sccenc.c avformat/(lrc|scc)enc: Use avio_w8() to write a single char 2021-10-02 17:16:34 +02:00
scd.c scd: convert to new channel layout API 2022-03-15 09:42:37 -03:00
sctp.c lavf/network: log ff_socket() errors to proper contexts rather than NULL 2022-01-21 09:25:05 +01:00
sdp.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
sdr2.c sdr2: convert to new channel layout API 2022-03-15 09:42:37 -03:00
sdsdec.c sds: convert to new channel layout API 2022-03-15 09:42:37 -03:00
sdxdec.c sdx: convert to new channel layout API 2022-03-15 09:42:37 -03:00
seek.c avformat/seek: add ff_rescale_interval() function 2022-03-19 21:34:00 +10:00
segafilm.c segafilm: convert to new channel layout API 2022-03-15 09:42:37 -03:00
segafilmenc.c segafilm: convert to new channel layout API 2022-03-15 09:42:37 -03:00
segment.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
serdec.c avformat: Avoid allocation for AVFormatInternal 2021-09-17 04:58:34 +02:00
sga.c sga: convert to new channel layout API 2022-03-15 09:42:37 -03:00
shortendec.c
sierravmd.c sierravmd: convert to new channel layout API 2022-03-15 09:42:37 -03:00
siff.c siff: convert to new channel layout API 2022-03-15 09:42:37 -03:00
smacker.c smacker: convert to new channel layout API 2022-03-15 09:42:37 -03:00
smjpeg.c
smjpeg.h
smjpegdec.c smjpegenc: convert to new channel layout API 2022-03-15 09:42:37 -03:00
smjpegenc.c smjpegenc: convert to new channel layout API 2022-03-15 09:42:37 -03:00
smoothstreamingenc.c smoothstreaming: convert to new channel layout API 2022-03-15 09:42:37 -03:00
smush.c smush: convert to new channel layout API 2022-03-15 09:42:37 -03:00
sol.c sol: convert to new channel layout API 2022-03-15 09:42:37 -03:00
sox.h
soxdec.c sox: convert to new channel layout API 2022-03-15 09:42:37 -03:00
soxenc.c sox: convert to new channel layout API 2022-03-15 09:42:37 -03:00
spdif.c
spdif.h
spdifdec.c
spdifenc.c avcodec/dca: Unavpriv dca_sample_rates 2022-01-04 13:16:49 +01:00
srtdec.c
srtenc.c
srtp.c
srtp.h
srtpproto.c
stldec.c
subfile.c
subtitles.c avformat/subtitles: Honour ff_subtitles_read_line() documentation 2021-10-02 17:16:29 +02:00
subtitles.h avformat/avio: Move internal AVIOContext fields to avio_internal.h 2021-08-25 23:01:54 +02:00
subviewer1dec.c
subviewerdec.c all: Remove unnecessary libavcodec/internal.h inclusions 2022-02-08 06:16:26 +01:00
supdec.c
supenc.c
svag.c svag: convert to new channel layout API 2022-03-15 09:42:37 -03:00
svs.c svs: convert to new channel layout API 2022-03-15 09:42:37 -03:00
swf.c
swf.h
swfdec.c swf: convert to new channel layout API 2022-03-15 09:42:37 -03:00
swfenc.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
takdec.c tak: convert to new channel layout API 2022-03-15 09:42:38 -03:00
tcp.c lavf/network: log ff_listen() errors to proper contexts rather than NULL 2022-01-21 09:25:05 +01:00
tedcaptionsdec.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
tee_common.c Remove unnecessary libavutil/(avutil|common|internal).h inclusions 2022-02-24 12:56:49 +01:00
tee_common.h
tee.c avformat: introduce AVFormatContext io_close2 which returns an int 2021-12-12 00:32:20 +01:00
teeproto.c
thp.c thp: convert to new channel layout API 2022-03-15 09:42:38 -03:00
tiertexseq.c tiertexseq: convert to new channel layout API 2022-03-15 09:42:38 -03:00
tls_gnutls.c avformat/gnutls: Use the systems default crypto policy 2022-02-15 10:15:25 +01:00
tls_libtls.c
tls_mbedtls.c lavf/tls_mbedtls: fix handling of tls_verify=0 2021-12-30 19:32:34 +02:00
tls_openssl.c avcodec, avformat: Remove unnecessary inclusions of lavc/internal.h 2022-03-23 23:45:39 +01:00
tls_schannel.c
tls_securetransport.c
tls.c
tls.h
tmv.c tmv: convert to new channel layout API 2022-03-15 09:42:38 -03:00
to_upper4.c avcodec/utils: Unavpriv avpriv_toupper4() 2022-01-04 13:16:50 +01:00
tta.c tta: convert to new channel layout API 2022-03-15 09:42:38 -03:00
ttaenc.c tta: convert to new channel layout API 2022-03-15 09:42:38 -03:00
ttmlenc.c avformat/ttml: split TTML paragraph based or not check into header 2021-08-25 09:26:46 +03:00
ttmlenc.h avformat/ttml: split TTML paragraph based or not check into header 2021-08-25 09:26:46 +03:00
tty.c
txd.c
ty.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
udp.c avformat/udp: remove IPPROTO_IPV6 macro 2022-02-12 08:41:55 +08:00
uncodedframecrcenc.c uncodedframecrcenc: convert to new channel layout API 2022-03-15 09:42:38 -03:00
unix.c lavf/network: log ff_socket() errors to proper contexts rather than NULL 2022-01-21 09:25:05 +01:00
url.c
url.h Remove obsolete version.h inclusions 2022-02-24 12:56:49 +01:00
urldecode.c
urldecode.h
utils.c libavformat: Split version.h 2022-03-16 14:05:26 +02:00
vag.c vag: convert to new channel layout API 2022-03-15 09:42:38 -03:00
vapoursynth.c
vc1dec.c
vc1test.c
vc1testenc.c
version_major.h libavformat: Split version.h 2022-03-16 14:05:26 +02:00
version.h avformat/pcmdec: add support to set channel layout 2022-03-18 18:59:03 -03:00
vividas.c vividas: convert to new channel layout API 2022-03-15 09:42:38 -03:00
vivo.c vivo: convert to new channel layout API 2022-03-15 09:42:38 -03:00
voc_packet.c voc: convert to new channel layout API 2022-03-15 09:42:38 -03:00
voc.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
voc.h
vocdec.c avformat: Avoid allocation for AVStreamInternal 2021-09-17 13:22:25 +02:00
vocenc.c voc: convert to new channel layout API 2022-03-15 09:42:38 -03:00
vorbiscomment.c avformat/vorbiscomment: Don't compute strlen twice 2021-08-27 10:47:23 +02:00
vorbiscomment.h
vpcc.c
vpcc.h
vpk.c vpk: convert to new channel layout API 2022-03-15 09:42:38 -03:00
vplayerdec.c
vqf.c vqf: convert to new channel layout API 2022-03-15 09:42:38 -03:00
w64.c
w64.h
wavdec.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
wavenc.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
wc3movie.c wc3movie: convert to new channel layout API 2022-03-15 09:42:38 -03:00
webm_chunk.c avformat/avformat: Add AVFMT_AVOID_NEG_TS_DISABLED 2022-01-21 16:47:38 +01:00
webmdashenc.c Remove unnecessary libavutil/(avutil|common|internal).h inclusions 2022-02-24 12:56:49 +01:00
webpenc.c avformat/webpenc: Don't use sizeof(AVPacket) 2021-10-03 20:56:12 +02:00
webvttdec.c
webvttenc.c
westwood_aud.c westwood: convert to new channel layout API 2022-03-15 09:42:38 -03:00
westwood_audenc.c westwood: convert to new channel layout API 2022-03-15 09:42:38 -03:00
westwood_vqa.c westwood: convert to new channel layout API 2022-03-15 09:42:38 -03:00
wsddec.c wsd: convert to new channel layout API 2022-03-15 09:42:39 -03:00
wtv_common.c
wtv.h
wtvdec.c wtv: convert to new channel layout API 2022-03-15 09:42:38 -03:00
wtvenc.c
wv.c Remove unnecessary libavutil/(avutil|common|internal).h inclusions 2022-02-24 12:56:49 +01:00
wv.h
wvdec.c wv: convert to new channel layout API 2022-03-15 09:42:38 -03:00
wvedec.c wve: convert to new channel layout API 2022-03-15 09:42:39 -03:00
wvenc.c avformat/wvenc: Make init function out of write_header 2021-12-20 14:29:01 +01:00
xa.c xa: convert to new channel layout API 2022-03-15 09:42:38 -03:00
xmv.c xmv: convert to new channel layout API 2022-03-15 09:42:39 -03:00
xvag.c xvag: convert to new channel layout API 2022-03-15 09:42:39 -03:00
xwma.c xwma: convert to new channel layout API 2022-03-15 09:42:39 -03:00
yop.c yop: convert to new channel layout API 2022-03-15 09:42:39 -03:00
yuv4mpeg.h
yuv4mpegdec.c avformat: Avoid allocation for AVFormatInternal 2021-09-17 04:58:34 +02:00
yuv4mpegenc.c