FFmpeg/libavformat
Michael Niedermayer 8af798171b avformat/mpc8: Check and propagate more errors
Fixes: Timeout
Fixes: 48846/clusterfuzz-testcase-minimized-ffmpeg_dem_MPC8_fuzzer-5278532493770752

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-07-21 19:28:52 +02:00
..
tests avformat/imf: refactor to use avutil/uuid 2022-06-12 18:34:37 +10:00
.gitignore
3dostr.c
4xm.c
a64.c
aacdec.c
aadec.c
aaxdec.c avformat/aaxdec: Check for empty segments 2022-07-12 21:55:22 +02:00
ac3_channel_layout_tab.c
ac3dec.c
acedec.c
acm.c
act.c
adp.c
ads.c
adtsenc.c
adxdec.c
aea.c
afc.c
aiff.c
aiff.h
aiffdec.c avformat/aiffdec: cleanup size handling for extreem cases 2022-07-02 19:22:36 +02:00
aiffenc.c
aixdec.c
allformats.c avcodec: add Radiance HDR image format support 2022-07-16 21:43:54 +02:00
alp.c
amr.c
amvenc.c
anm.c
apc.c
ape.c avformat/ape: more bits in size for less overflows 2022-06-14 16:46:28 +02:00
apetag.c
apetag.h
apm.c
apngdec.c avcodec/apng: Add APNG_FCTL_CHUNK_SIZE define 2022-07-09 19:37:52 +02:00
apngenc.c avformat/apngenc: Add const where possible 2022-07-09 19:37:53 +02:00
aptxdec.c
aqtitledec.c
argo_asf.c
argo_asf.h
argo_brp.c
argo_cvg.c
asf_tags.c
asf.c
asf.h
asfcrypt.c
asfcrypt.h
asfdec_f.c avformat/asfdec_f: Use 64bit for packet start time 2022-07-21 19:27:32 +02:00
asfdec_o.c
asfenc.c
assdec.c
assenc.c
ast.c
ast.h
astdec.c
astenc.c
async.c
au.c
av1.c
av1.h
av1dec.c
avc.c
avc.h
avformat.c
avformat.h
avformatres.rc
avi.h
avidec.c
avienc.c avformat/avienc: Check video dimensions 2022-07-12 21:55:22 +02:00
avio_internal.h
avio.c
avio.h lavf/avio: add avio_vprintf() 2022-06-13 22:42:55 +02:00
aviobuf.c lavf/avio: add avio_vprintf() 2022-06-13 22:42:55 +02:00
avisynth.c libavformat: Remove MAX_PATH limit and use UTF-8 version of getenv() 2022-06-21 13:27:46 +03:00
avlanguage.c
avlanguage.h
avr.c
avs2dec.c
avs3dec.c
avs.c
bethsoftvid.c
bfi.c avformat/bfi: Check offsets better 2022-06-09 20:46:10 +02:00
bink.c
binka.c
bintext.c avformat/bintext: Remove set-but-unused variable 2022-07-03 11:41:23 +02:00
bit.c
bluray.c
bmv.c
boadec.c
brstm.c
c93.c
cache.c
caf.c avformat/cafdec: Implement FLAC-in-CAF parsing 2022-07-05 14:11:20 +02:00
caf.h
cafdec.c avformat/cafdec: Implement FLAC-in-CAF parsing 2022-07-05 14:11:20 +02:00
cafenc.c
cavsvideodec.c
cdg.c
cdxl.c
chromaprint.c
cinedec.c avformat/cinedec: Check size and pos more 2022-07-07 21:52:52 +02:00
codec2.c
concat.c
concatdec.c
crcenc.c
crypto.c
dash.c
dash.h
dashdec.c
dashenc.c
data_uri.c
dauddec.c
daudenc.c
dca_sample_rate_tab.c
dcstr.c
demux_utils.c
demux.c Revert "avformat/demux: Make read_frame_internal() return AVERREOR(EAGAIN) on stuck empty input parser" 2022-07-06 23:37:29 +02:00
demux.h
derf.c
dfa.c
dfpwmdec.c
dhav.c
diracdec.c
dnxhddec.c
dovi_isom.c
dovi_isom.h
dsfdec.c
dsicin.c
dss.c
dtsdec.c
dtshddec.c
dump.c
dv.c
dv.h
dvbsub.c
dvbtxt.c
dvenc.c av(format|device): Add const to muxer packet data pointers 2022-07-09 19:37:53 +02:00
dxa.c
eacdata.c
electronicarts.c
epafdec.c
ffmeta.h
ffmetadec.c
ffmetaenc.c
fifo_test.c
fifo.c
file_open.c
file.c avformat/file: remove _WIN32 condition 2022-06-09 13:03:55 +03:00
filmstripdec.c
filmstripenc.c
fitsdec.c
fitsenc.c
flac_picture.c
flac_picture.h
flacdec.c
flacenc_header.c
flacenc.c
flacenc.h
flic.c
flv.h
flvdec.c avformat/flvdec: Check for EOF in index reading 2022-07-21 19:28:27 +02:00
flvenc.c avformat/flvenc: Add deinit function 2022-07-09 20:16:39 +02:00
format.c
framecrcenc.c
framehash.c
frmdec.c
fsb.c
ftp.c
fwse.c
g722.c
g723_1.c
g726.c
g729dec.c
gdv.c
genh.c
gif.c av(format|device): Add const to muxer packet data pointers 2022-07-09 19:37:53 +02:00
gifdec.c
golomb_tab.c
gopher.c
gsmdec.c
gxf.c
gxf.h
gxfenc.c
h261dec.c
h263dec.c
h264dec.c
hashenc.c
hca.c
hcom.c
hdsenc.c
hevc.c
hevc.h
hevcdec.c
hls_sample_encryption.c
hls_sample_encryption.h
hls.c avformat/hls: add #EXT-X-START tag support by prefer_x_start opt 2022-06-29 14:03:36 +08:00
hlsenc.c avformat/hlsenc: Add resend_headers option 2022-06-29 14:07:03 +08:00
hlsplaylist.c
hlsplaylist.h
hlsproto.c
hnm.c
http.c avformat/http: include version.h 2022-06-24 23:07:33 -03:00
http.h
httpauth.c
httpauth.h
icecast.c
icodec.c
icoenc.c
id3v1.c
id3v1.h
id3v2.c
id3v2.h
id3v2enc.c
idcin.c
idroqdec.c
idroqenc.c
iff.c avformat/iff: simplify duration calculation 2022-07-12 21:55:22 +02:00
ifv.c
ilbc.c
imf_cpl.c avformat/imf: refactor to use avutil/uuid 2022-06-12 18:34:37 +10:00
imf.h avformat/imf: refactor to use avutil/uuid 2022-06-12 18:34:37 +10:00
imfdec.c avformat/imf: refactor to use avutil/uuid 2022-06-12 18:34:37 +10:00
img2_alias_pix.c
img2_brender_pix.c
img2.c avcodec: add Radiance HDR image format support 2022-07-16 21:43:54 +02:00
img2.h
img2dec.c avformat/img2dec: fix build 2022-07-16 22:40:44 +02:00
img2enc.c avcodec: add Radiance HDR image format support 2022-07-16 21:43:54 +02:00
imx.c
ingenientdec.c
internal.h
ip.c
ip.h
ipfsgateway.c libavformat: Remove MAX_PATH limit and use UTF-8 version of getenv() 2022-06-21 13:27:46 +03:00
ipmovie.c
ipudec.c
ircam.c
ircam.h
ircamdec.c
ircamenc.c
isom_tags.c Support for 16:9 DV in QuickTime 2022-07-09 19:03:28 +02:00
isom.c libavformat/isom: Add more language mappings 2022-06-07 11:12:05 +02:00
isom.h avformat/mov: Only read the primary item for AVIF 2022-06-29 12:16:40 -07:00
iss.c
iv8.c
ivfdec.c
ivfenc.c
jacosubdec.c
jacosubenc.c
jpegtables.c
jpegxl_probe.c
jpegxl_probe.h
jvdec.c
kvag.c
latmenc.c
libamqp.c
libavformat.v
libgme.c
libmodplug.c
libopenmpt.c
librist.c avformat/librist: bump required version to 0.2.7 2022-06-18 16:32:23 +02:00
librtmp.c
libsmbclient.c
libsrt.c
libssh.c
libzmq.c
lmlm4.c
loasdec.c
log2_tab.c
lrc.c
lrc.h
lrcdec.c
lrcenc.c
luodatdec.c
lvfdec.c
lxfdec.c
m4vdec.c
Makefile avcodec: add Radiance HDR image format support 2022-07-16 21:43:54 +02:00
matroska.c
matroska.h
matroskadec.c avformat/matroskadec: fix setting channel layout using the Channels element 2022-07-04 14:00:25 -03:00
matroskaenc.c avformat/matroskaenc: Fix use of uninitialized value 2022-06-26 06:12:32 +02:00
mca.c
mccdec.c
md5proto.c
metadata.c
metadata.h
mgsts.c
microdvddec.c
microdvdenc.c
mj2kdec.c
mkvtimestamp_v2.c
mlpdec.c avformat/mlpdec: Remove unused-but-set variable 2022-07-03 11:41:23 +02:00
mlvdec.c
mm.c
mmf.c
mms.c
mms.h
mmsh.c
mmst.c
mods.c
moflex.c
mov_chan.c
mov_chan.h
mov_esds.c
mov.c avformat/mov: Check for EOF in mov_read_iloc() 2022-07-21 19:27:45 +02:00
movenc_ttml.c
movenc_ttml.h
movenc.c avformat/movenc: Ensure packet is writable before modifying it 2022-07-09 19:37:53 +02:00
movenc.h av(format|device): Add const to muxer packet data pointers 2022-07-09 19:37:53 +02:00
movenccenc.c
movenccenc.h
movenchint.c av(format|device): Add const to muxer packet data pointers 2022-07-09 19:37:53 +02:00
mp3dec.c
mp3enc.c
mpc8.c avformat/mpc8: Check and propagate more errors 2022-07-21 19:28:52 +02:00
mpc.c
mpeg4audio_sample_rates.c
mpeg.c
mpeg.h
mpegaudiotabs.c
mpegenc.c avformat/(mpeg|mpegts|mxf|sup)enc: Use const uint8_t* to access pkt data 2022-07-04 14:56:43 +02:00
mpegts.c avformat/mpegts: remove obsolate hacks for detecting streams with bad PMTs 2022-06-20 23:36:37 +02:00
mpegts.h
mpegtsenc.c avformat/(mpeg|mpegts|mxf|sup)enc: Use const uint8_t* to access pkt data 2022-07-04 14:56:43 +02:00
mpegvideodec.c
mpjpeg.c
mpjpegdec.c
mpl2dec.c
mpsubdec.c
msf.c
msnwc_tcp.c
mspdec.c
mtaf.c
mtv.c
musx.c
mux_utils.c
mux.c lavf: use AVFrame.duration instead of AVFrame.pkt_duration 2022-07-19 12:27:17 +02:00
mux.h
mvdec.c
mvi.c
mxf.c
mxf.h avformat/mxf: Use AVUUID for uids 2022-06-16 18:38:50 +02:00
mxfdec.c avformat/mxfdec: Offload allocating string to av_dict_set() 2022-06-16 18:39:46 +02:00
mxfenc.c av(format|device): Add const to muxer packet data pointers 2022-07-09 19:37:53 +02:00
mxg.c
ncdec.c
network.c
network.h
nistspheredec.c
nspdec.c
nsvdec.c
nullenc.c
nut.c
nut.h
nutdec.c avformat/nutdec: Check get_packetheader() in mainheader 2022-07-21 19:27:52 +02:00
nutenc.c
nuv.c
oggdec.c
oggdec.h
oggenc.c av(format|device): Add const to muxer packet data pointers 2022-07-09 19:37:53 +02:00
oggparsecelt.c
oggparsedirac.c
oggparseflac.c
oggparseogm.c
oggparseopus.c
oggparseskeleton.c
oggparsespeex.c
oggparsetheora.c
oggparsevorbis.c
oggparsevp8.c
oma.c
oma.h
omadec.c
omaenc.c
options_table.h
options.c
os_support.c
os_support.h avformat/os_support: use windows stat structs with 64bit time_t 2022-06-11 11:11:12 +03:00
paf.c
pcm.c
pcm.h
pcmdec.c
pcmenc.c
pjsdec.c
pmpdec.c
pp_bnk.c
prompeg.c
protocols.c
psxstr.c
pva.c
pvfdec.c
qcp.c
qtpalette.c
qtpalette.h
r3d.c
rawdec.c
rawdec.h
rawenc.c
rawenc.h
rawutils.c
rawutils.h
rawvideodec.c
rdt.c
rdt.h
realtextdec.c
redspark.c
replaygain.c
replaygain.h
riff.c
riff.h
riffdec.c
riffenc.c
rl2.c
rm.c
rm.h
rmdec.c
rmenc.c
rmsipr.c
rmsipr.h
rpl.c
rsd.c
rso.c
rso.h
rsodec.c
rsoenc.c
rtmp.h
rtmpcrypt.c
rtmpcrypt.h
rtmpdh.c
rtmpdh.h
rtmpdigest.c
rtmphttp.c
rtmppkt.c
rtmppkt.h
rtmpproto.c
rtp.c
rtp.h
rtpdec_ac3.c
rtpdec_amr.c
rtpdec_asf.c
rtpdec_dv.c
rtpdec_formats.h
rtpdec_g726.c
rtpdec_h261.c
rtpdec_h263_rfc2190.c
rtpdec_h263.c
rtpdec_h264.c
rtpdec_hevc.c
rtpdec_ilbc.c
rtpdec_jpeg.c
rtpdec_latm.c
rtpdec_mpa_robust.c
rtpdec_mpeg4.c
rtpdec_mpeg12.c
rtpdec_mpegts.c
rtpdec_qcelp.c
rtpdec_qdm2.c
rtpdec_qt.c
rtpdec_rfc4175.c
rtpdec_svq3.c
rtpdec_vc2hq.c
rtpdec_vp8.c
rtpdec_vp9.c
rtpdec_xiph.c
rtpdec.c
rtpdec.h
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
rtpenc_latm.c
rtpenc_mpegts.c
rtpenc_mpv.c
rtpenc_rfc4175.c
rtpenc_vc2hq.c
rtpenc_vp8.c
rtpenc_vp9.c
rtpenc_xiph.c
rtpenc.c
rtpenc.h
rtpproto.c
rtpproto.h
rtsp.c avformat/rtsp: break on unknown protocols 2022-07-12 21:55:22 +02:00
rtsp.h
rtspcodes.h
rtspdec.c
rtspenc.c
s337m.c
samidec.c
sapdec.c
sapenc.c
sauce.c
sauce.h
sbcdec.c
sbgdec.c
sccdec.c
sccenc.c
scd.c
sctp.c avformat/sctp: close socket on errors 2022-07-07 21:52:52 +02:00
sdp.c
sdr2.c
sdsdec.c
sdxdec.c
seek.c
segafilm.c
segafilmenc.c
segment.c
serdec.c
sga.c
shortendec.c
sierravmd.c
siff.c
smacker.c
smjpeg.c
smjpeg.h
smjpegdec.c
smjpegenc.c
smoothstreamingenc.c avformat/smoothstreamingenc: refactor to use avutil/uuid 2022-06-12 18:34:37 +10:00
smush.c
sol.c
sox.h
soxdec.c
soxenc.c
spdif.c
spdif.h
spdifdec.c
spdifenc.c av(format|device): Add const to muxer packet data pointers 2022-07-09 19:37:53 +02:00
srtdec.c
srtenc.c
srtp.c
srtp.h
srtpproto.c
stldec.c
subfile.c
subtitles.c
subtitles.h
subviewer1dec.c
subviewerdec.c
supdec.c
supenc.c avformat/(mpeg|mpegts|mxf|sup)enc: Use const uint8_t* to access pkt data 2022-07-04 14:56:43 +02:00
svag.c
svs.c
swf.c
swf.h
swfdec.c
swfenc.c av(format|device): Add const to muxer packet data pointers 2022-07-09 19:37:53 +02:00
takdec.c
tcp.c
tedcaptionsdec.c
tee_common.c
tee_common.h
tee.c
teeproto.c
thp.c
tiertexseq.c
tls_gnutls.c
tls_libtls.c libavformat/tls_libtls: handle TLS_WANT_{POLLIN, POLLOUT} in read/write functions 2022-06-08 23:09:47 +02:00
tls_mbedtls.c
tls_openssl.c
tls_schannel.c
tls_securetransport.c
tls.c libavformat: Remove MAX_PATH limit and use UTF-8 version of getenv() 2022-06-21 13:27:46 +03:00
tls.h
tmv.c
to_upper4.c
tta.c
ttaenc.c
ttmlenc.c
ttmlenc.h
tty.c
txd.c
ty.c
udp.c
uncodedframecrcenc.c
unix.c
url.c
url.h
urldecode.c
urldecode.h
utils.c
vag.c
vapoursynth.c
vc1dec.c
vc1test.c
vc1testenc.c
version_major.h
version.c
version.h avcodec: add Radiance HDR image format support 2022-07-16 21:43:54 +02:00
vividas.c
vivo.c
voc_packet.c
voc.c
voc.h
vocdec.c
vocenc.c
vorbiscomment.c
vorbiscomment.h
vpcc.c
vpcc.h
vpk.c
vplayerdec.c
vqf.c
w64.c
w64.h
wavdec.c
wavenc.c
wc3movie.c
webm_chunk.c
webmdashenc.c
webpenc.c
webvttdec.c
webvttenc.c
westwood_aud.c
westwood_audenc.c
westwood_vqa.c
wsddec.c
wtv_common.c
wtv.h
wtvdec.c
wtvenc.c
wv.c
wv.h
wvdec.c
wvedec.c
wvenc.c
xa.c
xmv.c
xvag.c
xwma.c
yop.c
yuv4mpeg.h
yuv4mpegdec.c
yuv4mpegenc.c