1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
FFmpeg/libavformat
Michael Niedermayer 74aeed90eb
avformat/mov: Use int64_t in intermediate for corrected_dts
Fixes: CID1500312 Unintentional integer overflow

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 034054b370)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2024-06-13 21:40:38 +02:00
..
tests
.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: Check for previously set channels 2024-04-03 02:04:51 +02:00
aiffenc.c
aixdec.c
allformats.c avcodec: add PHM decoder and encoder 2022-07-03 15:16:31 +02:00
alp.c
amr.c
amvenc.c
anm.c
apc.c
ape.c avformat/ape: Use 64bit for final frame size 2024-06-13 18:51:22 +02:00
apetag.c
apetag.h
apm.c avformat/apm: Use 64bit for bit_rate computation 2022-09-24 22:58:19 +02:00
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 avformat/argo_asf: Use 64bit in offset intermediate 2024-06-13 18:51:58 +02:00
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 preroll computation 2024-06-13 18:52:15 +02:00
asfdec_o.c avformat/asfdec_o: Limit packet offset 2022-09-24 22:58:19 +02:00
asfenc.c
assdec.c
assenc.c
ast.c
ast.h
astdec.c
astenc.c
async.c lavf/async: Fix ring_write return value 2022-10-14 12:24:21 +02:00
au.c
av1.c
av1.h
av1dec.c
avc.c
avc.h
avformat.c
avformat.h
avformatres.rc
avi.h
avidec.c avformat/avidec: Prevent entity expansion attacks 2022-08-28 23:07:06 +02:00
avienc.c avformat/avienc: Check video dimensions 2022-07-12 21:55:22 +02:00
avio_internal.h
avio.c
avio.h
aviobuf.c
avisynth.c avformat/avisynth: use ch_layout.nb_channels for channel count 2022-08-07 22:43:32 -03:00
avlanguage.c
avlanguage.h
avr.c avformat/avr: Check sample rate 2023-10-30 00:39:01 +01:00
avs2dec.c
avs3dec.c
avs.c avformat/avs: Check if return code is representable 2023-10-30 00:39:08 +01:00
bethsoftvid.c
bfi.c
bink.c
binka.c
bintext.c
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: Check that data chunk end fits within 64bit 2024-04-03 02:04:45 +02:00
cafenc.c avformat/cafenc: derive Opus frame size from the relevant stream parameters 2022-09-24 12:20:24 -03:00
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 avformat/concatf: check if any nodes were allocated 2023-04-16 11:39:13 -03:00
concatdec.c avformat/concatdec: Check file 2024-06-13 11:22:07 +02:00
crcenc.c
crypto.c
dash.c
dash.h
dashdec.c avformat/dashdec: Fix crash on invalid input/ENOMEM, fix leak 2022-09-23 16:25:21 +02:00
dashenc.c
data_uri.c
dauddec.c
daudenc.c
dca_sample_rate_tab.c
dcstr.c
demux_utils.c
demux.c avformat/demux: resurrect dead stores 2024-06-13 18:24:44 +02:00
demux.h
derf.c
dfa.c
dfpwmdec.c
dhav.c avformat/dhav: Use 64bit seek_back 2022-09-24 22:58:20 +02:00
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 avformat/dxa: Adjust order of operations around block align 2024-04-03 02:04:44 +02:00
eacdata.c
electronicarts.c
epafdec.c
ffmeta.h
ffmetadec.c
ffmetaenc.c
fifo_test.c
fifo.c
file_open.c
file.c
filmstripdec.c
filmstripenc.c
fitsdec.c
fitsenc.c
flac_picture.c
flac_picture.h
flacdec.c avformat/flacdec: Avoid double AVERRORS 2024-04-03 02:04:38 +02:00
flacenc_header.c
flacenc.c
flacenc.h
flic.c
flv.h
flvdec.c avformat/flvdec: Use 64bit for sum_flv_tag_size 2022-09-24 22:58:21 +02:00
flvenc.c avformat/flvenc: Add deinit function 2022-07-09 20:16:39 +02:00
format.c avformat/format: Stop reading data at EOF during probing 2023-10-30 00:39:05 +01:00
framecrcenc.c
framehash.c
frmdec.c
fsb.c
ftp.c
fwse.c avformat/fwse: Remove always false expression 2024-06-13 19:37:11 +02:00
g722.c
g723_1.c
g726.c
g729dec.c
gdv.c
genh.c avformat/genh: Check nb_channels for IMA ADPCM 2022-09-24 22:58:20 +02:00
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: reduce default max reload to 3 2023-10-30 00:39:05 +01:00
hlsenc.c libavformat/hlsenc.c: Populate OTI using AAC profile in write_codec_attr. 2024-04-03 02:04:39 +02:00
hlsplaylist.c
hlsplaylist.h
hlsproto.c
hnm.c
http.c
http.h
httpauth.c
httpauth.h
icecast.c
icodec.c avformat/icodec: Check nb_pal 2022-09-24 22:58:18 +02:00
icoenc.c
id3v1.c
id3v1.h
id3v2.c avformat/id3v2: read_uslt() check for the amount read 2024-04-03 02:04:43 +02:00
id3v2.h
id3v2enc.c
idcin.c
idroqdec.c
idroqenc.c
iff.c avformat/iff: Saturate avio_tell() + 12 2024-04-03 02:04:44 +02:00
ifv.c
ilbc.c
imf_cpl.c avformat/imf_cpl: Replace NULL content_title_utf8 by "" 2023-10-30 00:39:00 +01:00
imf.h
imfdec.c
img2_alias_pix.c
img2_brender_pix.c
img2.c avcodec: add PHM decoder and encoder 2022-07-03 15:16:31 +02:00
img2.h
img2dec.c avformat/img2dec: Little JFIF / Exif cleanup 2024-06-13 21:32:33 +02:00
img2enc.c avformat/img2enc: use unmatched filename for an invalid or missing sequence pattern 2022-07-07 20:23:06 +02:00
imx.c
ingenientdec.c
internal.h
ip.c
ip.h
ipfsgateway.c ipfsgateway: Remove default gateway 2022-08-15 20:38:08 +01: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 avformat/isom: Uninit layout in ff_mp4_read_dec_config_descr() 2024-04-04 20:55:28 +02:00
isom.h
iss.c
iv8.c
ivfdec.c
ivfenc.c
jacosubdec.c avformat/jacosubdec: Use 64bit for abs 2024-04-03 02:04:47 +02:00
jacosubenc.c
jpegtables.c
jpegxl_probe.c avformat/jpegxl_probe: Forward error codes 2023-10-30 00:38:57 +01:00
jpegxl_probe.h
jvdec.c
kvag.c avformat/kvag: Check sample_rate 2024-06-13 11:22:05 +02:00
latmenc.c
libamqp.c
libavformat.v
libgme.c
libmodplug.c
libopenmpt.c
librist.c
librtmp.c
libsmbclient.c
libsrt.c avformat/libsrt: use SRT_EPOLL_IN for waiting for an incoming connection 2024-02-28 00:01:29 +01:00
libssh.c
libzmq.c avformat/libzmq: Check av_strstart() 2024-06-13 21:33:00 +02:00
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 PHM decoder and encoder 2022-07-03 15:16:31 +02:00
matroska.c
matroska.h
matroskadec.c avformat/matroskadec: Assert that num_levels is non negative 2024-06-13 21:33:33 +02:00
matroskaenc.c
mca.c
mccdec.c
md5proto.c
metadata.c
metadata.h
mgsts.c
microdvddec.c
microdvdenc.c
mj2kdec.c
mkvtimestamp_v2.c
mlpdec.c
mlvdec.c
mm.c
mmf.c
mms.c
mms.h
mmsh.c
mmst.c
mods.c
moflex.c
mov_chan.c avformat/mov_chan: never override number of channels based on chan atom 2024-02-11 23:20:37 +01:00
mov_chan.h
mov_esds.c
mov.c avformat/mov: Use int64_t in intermediate for corrected_dts 2024-06-13 21:40:38 +02:00
movenc_ttml.c
movenc_ttml.h
movenc.c avformat/movenc: Check that cts fits in 32bit 2024-04-03 02:04:50 +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
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: Reset local nb_prg on add_program() failure 2024-04-03 02:04:51 +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
mux.h
mvdec.c
mvi.c
mxf.c
mxf.h avformat/mxfdec: remove resolve_strong_ref usage with AnyType 2024-03-19 20:58:41 +01:00
mxfdec.c avformat/mxfdec: Check body_offset 2024-06-13 11:22:05 +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 fields 2022-09-24 22:58:21 +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 avformat/oggparsetheora: clip duration within 64bit 2023-10-30 00:38:55 +01:00
oggparsevorbis.c
oggparsevp8.c
oma.c
oma.h
omadec.c
omaenc.c
options_table.h
options.c
os_support.c
os_support.h
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 avformat/replaygain: avoid undefined / negative abs 2023-02-21 00:30:35 +01:00
replaygain.h
riff.c
riff.h
riffdec.c libavformat/riffec: Zero-initialize channels in ff_get_wav_header 2023-08-12 13:25:36 -03:00
riffenc.c
rl2.c
rm.c
rm.h
rmdec.c avformat/rmdec: check tag_size 2022-09-24 22:58:22 +02:00
rmenc.c
rmsipr.c
rmsipr.h
rpl.c avformat/rpl: Use 64bit for total_audio_size and check it 2024-04-03 02:04:48 +02:00
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: Use rtsp_st->stream_index 2023-10-30 00:39:15 +01: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 avformat/sbgdec: Check for negative duration 2024-04-03 02:04:48 +02:00
sccdec.c
sccenc.c
scd.c
sctp.c avformat/sctp: close socket on errors 2022-07-07 21:52:52 +02:00
sdp.c avformat/sdp: Check before appending "," 2024-06-13 19:46:08 +02:00
sdr2.c
sdsdec.c avformat/sdsdec: Use av_rescale() to avoid intermediate overflow in duration calculation 2022-09-24 22:58:23 +02:00
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
smush.c
sol.c
sox.h
soxdec.c
soxenc.c
spdif.c
spdif.h
spdifdec.c avformat/spdifdec: Use 64bit to compute bit rate 2022-09-24 22:58:24 +02:00
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 avformat/subviewerdec: Make read_ts() more flexible 2022-08-28 23:07:04 +02:00
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
tls_mbedtls.c
tls_openssl.c
tls_schannel.c
tls_securetransport.c
tls.c
tls.h
tmv.c avformat/tmv: Check video chunk size 2023-10-30 00:39:13 +01:00
to_upper4.c
tta.c avformat/tta: Better totalframes check 2023-10-30 00:39:11 +01:00
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 Bump Versions for 5.1 branch 2022-07-13 00:27:37 +02:00
vividas.c avformat/vividas: Check packet size 2023-02-11 11:51:11 +01:00
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 avformat/wavdec: satuarte next_tag_ofs, data_end 2024-04-03 02:04:48 +02:00
wavenc.c
wc3movie.c
webm_chunk.c
webmdashenc.c
webpenc.c
webvttdec.c
webvttenc.c
westwood_aud.c
westwood_audenc.c
westwood_vqa.c avformat/westwood_vqa: Fix 2g packets 2024-04-03 02:04:49 +02:00
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 avformat/xwma: sanity check bits_per_coded_sample 2023-10-30 00:39:12 +01:00
yop.c
yuv4mpeg.h
yuv4mpegdec.c
yuv4mpegenc.c