1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-03 05:10:03 +02:00
FFmpeg/libavformat
Hendrik Leppkes 6dd5f95093 avformat/flvdec: fix size desync when reading timestamp offsets
The size offset was previously being accounted for in flv_set_video_codec
for h264 and mpeg4, instead of being directly accounted for in the spot
where its read, which desynced on HEVC streams.

For clarity, move the size offset directly to the parsing, similar to
how its done for all other header fields.
2023-07-25 13:37:32 +02:00
..
tests avformat/imf: clean-up logging 2023-05-31 09:03:58 -07:00
.gitignore
3dostr.c
4xm.c
a64.c
aacdec.c
aadec.c
aaxdec.c
ac3_channel_layout_tab.c
ac3dec.c
ac4dec.c avformat/ac4dec: Constify demuxer 2023-06-29 20:22:58 +02:00
ac4enc.c avformat: add raw AC-4 muxer 2023-06-20 12:47:00 +02:00
acedec.c
acm.c
act.c
adp.c
ads.c
adtsenc.c
adxdec.c
aea.c
afc.c
aiff.c
aiff.h
aiffdec.c
aiffenc.c
aixdec.c
allformats.c avformat/rawenc: add H266/VVC muxer 2023-06-29 14:12:50 -03:00
alp.c
amr.c
amvenc.c
anm.c
apac.c
apc.c
ape.c
apetag.c
apetag.h
apm.c
apngdec.c
apngenc.c
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: fix need_parsing flag for codec mpeg4 2023-07-04 04:49:48 +08:00
asfdec_o.c
asfenc.c
assdec.c
assenc.c avformat/assenc: Fix potential NULL + 1 2023-06-20 16:15:08 +02:00
ast.c
ast.h
astdec.c
astenc.c
async.c
au.c
av1.c
av1.h
av1dec.c avformat/av1: reduce the scope of a variable 2023-06-06 09:26:19 -03:00
avc.c
avc.h
avformat.c lavc: deprecate AVCodecContext.ticks_per_frame 2023-05-15 10:56:18 +02:00
avformat.h
avformatres.rc
avi.h
avidec.c
avienc.c
avio_internal.h
avio.c
avio.h
aviobuf.c
avisynth.c avisynth: pass audio channel layout 2023-07-19 19:33:20 -04:00
avlanguage.c
avlanguage.h
avr.c
avs2dec.c
avs3dec.c
avs.c
bethsoftvid.c
bfi.c
bink.c
binka.c
bintext.c
bit.c
bluray.c
bmv.c
boadec.c
bonk.c
brstm.c
c93.c
cache.c
caf.c
caf.h
cafdec.c
cafenc.c
cavsvideodec.c
cdg.c
cdxl.c
chromaprint.c
cinedec.c
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 avformat: add demuxer and probe support for H266/VVC 2023-06-29 14:12:50 -03: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 lavf/dv: stop setting a random video bitrate 2023-07-07 12:13:05 +02:00
dv.h
dvbsub.c
dvbtxt.c
dvenc.c
dxa.c
eacdata.c
electronicarts.c
epafdec.c
evc.c avformat/evc: use get_ue_golomb_long() 2023-06-27 12:52:38 -03:00
evc.h avformat/evc: Don't cast const away, avoid loop 2023-07-09 03:05:00 +02:00
evcdec.c avformat/evcdec: Check that enough data has been read 2023-07-09 02:40:14 +02:00
ffmeta.h
ffmetadec.c
ffmetaenc.c
fifo_test.c
fifo.c
file_open.c
file.c
filmstripdec.c
filmstripenc.c
fitsdec.c avformat/fits*: format does not store timestamps 2023-05-21 20:59:23 +02:00
fitsenc.c avformat/fits*: format does not store timestamps 2023-05-21 20:59:23 +02:00
flac_picture.c
flac_picture.h
flacdec.c
flacenc_header.c
flacenc.c
flacenc.h
flic.c
flv.h avformat/flvenc: support mux hevc in enhanced flv 2023-07-18 09:45:57 +08:00
flvdec.c avformat/flvdec: fix size desync when reading timestamp offsets 2023-07-25 13:37:32 +02:00
flvenc.c avformat/flvenc: write proper timestamps when muxing hevc 2023-07-25 02:13:37 +02:00
format.c avformat/format: Remove redundant FFMIN() in ff_match_url_ext() 2023-05-22 02:49:48 +02:00
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 avformat/gif: use last frame duration 2023-05-20 13:06:38 +02:00
gifdec.c avformat/gifdec: switch to using gif parser 2023-05-25 19:51:56 +02:00
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: Forward stream metadata from subdemuxer 2023-06-17 18:06:33 +02:00
hlsenc.c avformat/hlsenc: use av_random_bytes() for generating AES128 key 2023-07-16 11:48:31 +02:00
hlsplaylist.c
hlsplaylist.h
hlsproto.c
hnm.c
http.c avformat/http: copy only mime type from Content-Type 2023-06-29 17:28:46 -04:00
http.h
httpauth.c
httpauth.h
icecast.c
icodec.c
icoenc.c
id3v1.c
id3v1.h
id3v2.c avformat/id3v2: Free buffer in decode_str() 2023-07-22 17:05:47 +02:00
id3v2.h
id3v2enc.c
idcin.c
idroqdec.c
idroqenc.c
iff.c
ifv.c
ilbc.c
imf_cpl.c avformat/imf: clean-up logging 2023-05-31 09:03:58 -07:00
imf.h avformat/imf: clean-up logging 2023-05-31 09:03:58 -07:00
imfdec.c avformat/imf: clean-up logging 2023-05-31 09:03:58 -07:00
img2_alias_pix.c
img2_brender_pix.c
img2.c
img2.h
img2dec.c avformat/jpegxl_anim_dec: add animated JPEG XL demuxer 2023-06-05 12:15:05 -04:00
img2enc.c
imx.c
ingenientdec.c
internal.h lavf: use AV_CODEC_PROP_FIELDS where appropriate 2023-05-15 10:31:55 +02:00
ip.c
ip.h
ipfsgateway.c
ipmovie.c
ipudec.c
ircam.c
ircam.h
ircamdec.c
ircamenc.c
isom_tags.c avformat/isom_tags: add AC-4 2023-06-20 01:13:38 +02:00
isom.c
isom.h
iss.c
iv8.c
ivfdec.c avformat/ivfenc: Set the "number of frames" in IVF header 2023-07-09 16:56:58 -04:00
ivfenc.c avformat/ivfenc: Set the "number of frames" in IVF header 2023-07-09 16:56:58 -04:00
jacosubdec.c
jacosubenc.c
jpegtables.c
jpegxl_anim_dec.c avformat/jpegxl_anim_dec: fix out of array read using buffer padding 2023-06-20 12:47:31 -04:00
jpegxl_probe.c avformat/jpegxl_probe: Forward error codes 2023-06-11 21:11:39 -04:00
jpegxl_probe.h avformat/jpegxl_anim_dec: add animated JPEG XL demuxer 2023-06-05 12:15:05 -04:00
jvdec.c
kvag.c
lafdec.c
latmenc.c
libamqp.c
libavformat.v
libgme.c
libmodplug.c
libopenmpt.c
librist.c
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 avformat/flvenc: support mux vp9 in enhanced flv 2023-07-18 09:46:29 +08:00
matroska.c
matroska.h
matroskadec.c
matroskaenc.c avformat/matroskaenc: remove accidental variable shadowing 2023-05-20 09:28:46 -03:00
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
mov_chan.h
mov_esds.c
mov.c avformat/mov: avss box should be AV_CODEC_ID_CAVS 2023-07-19 22:43:33 +08:00
movenc_ttml.c
movenc_ttml.h
movenc.c avformat/mov_muxer: Extended MOV muxer to handle EVC video content 2023-06-15 09:57:41 -03:00
movenc.h
movenccenc.c
movenccenc.h
movenchint.c
mp3dec.c
mp3enc.c
mpc8.c
mpc.c
mpeg4audio_sample_rates.c
mpeg.c
mpeg.h
mpegaudiotabs.c
mpegenc.c
mpegts.c libavformat/mpegts.c: fix hardcoded 5-bytes skip for metadata streams. 2023-06-20 21:08:06 -03:00
mpegts.h
mpegtsenc.c
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 avformat/mxfdec: recognize AAC per SMPTE ST 381-4 2023-05-11 22:37:41 +02:00
mxf.h
mxfdec.c avformat/mxfdec: recognize AAC per SMPTE ST 381-4 2023-05-11 22:37:41 +02:00
mxfenc.c
mxg.c
ncdec.c
network.c
network.h
nistspheredec.c
nspdec.c
nsvdec.c
nullenc.c
nut.c
nut.h
nutdec.c
nutenc.c
nuv.c
oggdec.c
oggdec.h
oggenc.c
oggparsecelt.c
oggparsedirac.c
oggparseflac.c avformat/oggparseflac: use the GetByteContext API 2023-06-01 19:51:06 -03:00
oggparseogm.c
oggparseopus.c
oggparseskeleton.c
oggparsespeex.c
oggparsetheora.c avformat/oggparsetheora: clip duration within 64bit 2023-06-04 18:21:25 +02: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
pdvdec.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
rangecoder_dec.c
rawdec.c lavf/rawdec: stop setting codec context framerate 2023-05-05 14:49:40 +02:00
rawdec.h
rawenc.c avformat/rawenc: add H266/VVC muxer 2023-06-29 14:12:50 -03:00
rawenc.h
rawutils.c
rawutils.h
rawvideodec.c
rdt.c
rdt.h
realtextdec.c
redspark.c
replaygain.c
replaygain.h
riff.c avcodec: add VMX1 decoder 2023-06-12 23:43:05 +02:00
riff.h
riffdec.c
riffenc.c lavc/riffenc: Fix msrle support on Windows 95 2023-06-20 14:35:35 +02:00
rka.c avformat/rka: bps < 8 is invalid 2023-07-22 16:18:39 +02:00
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 lavf/rtpenc_jpeg: Retrieve sampling factor from SOF0 2023-06-20 09:52:43 +08:00
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
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
sdns.c
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
smush.c
sol.c
sox.h
soxdec.c
soxenc.c
spdif.c
spdif.h
spdifdec.c
spdifenc.c
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
svag.c
svs.c
swf.c
swf.h
swfdec.c
swfenc.c
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
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 avformat/version: bump minor after recent additions 2023-06-29 14:12:50 -03: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
vvcdec.c avformat: add demuxer and probe support for H266/VVC 2023-06-29 14:12:50 -03:00
w64.c
w64.h
wady.c
wavarc.c
wavdec.c avformat/wavdec: Check that smv block fits in available space 2023-05-22 02:49:58 +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
wsddec.c
wtv_common.c
wtv.h
wtvdec.c
wtvenc.c
wv.c
wv.h
wvdec.c
wvedec.c
wvenc.c
xa.c
xmd.c
xmv.c
xvag.c
xwma.c
yop.c
yuv4mpeg.h
yuv4mpegdec.c
yuv4mpegenc.c avformat/yuvmpegenc: add support for rawvideo input 2023-05-18 17:31:37 -03:00