1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-07 11:13:41 +02:00
FFmpeg/libavformat
Andreas Rheinhardt b021bc4a47 avformat/webpenc: Write correct size for single images when unseekable
The earlier code writes the file and then tries to patch up
the size later. This is avoidable for the common case of
a single image because one can know the complete size
in advance and write it.

Fixes ticket #4609.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2023-12-09 06:29:42 +01:00
..
tests
.gitignore
3dostr.c
4xm.c
a64.c
aacdec.c
aadec.c
aaxdec.c
ac3_channel_layout_tab.c
ac3dec.c
ac4dec.c
ac4enc.c
acedec.c
acm.c
act.c
adp.c
ads.c
adtsenc.c
adxdec.c
aea.c avformat/aea: fix bitrate for mono 2023-10-02 01:28:14 +02:00
afc.c
aiff.c
aiff.h
aiffdec.c
aiffenc.c
aixdec.c
allformats.c avformat: add QOA demuxer 2023-11-26 17:49:11 +01: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: Saturate presentation time in marker 2023-10-08 21:36:08 +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/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03:00
avformat.h avformat/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03:00
avformatres.rc
avi.h
avidec.c
avienc.c
avio_internal.h
avio.c
avio.h
aviobuf.c
avisynth.c
avlanguage.c
avlanguage.h
avr.c
avs2dec.c
avs3dec.c
avs.c avformat/avs: Check if return code is representable 2023-10-03 20:09:27 +02:00
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 avformat/cafdec: improve probing 2023-09-21 22:41:10 +02:00
cafenc.c
cavsvideodec.c
cdg.c
cdxl.c
chromaprint.c
cinedec.c
codec2.c
concat.c
concatdec.c avformat/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03:00
crcenc.c
crypto.c
dash.c
dash.h
dashdec.c avformat/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03:00
dashenc.c apply spelling fixes 2023-11-18 19:55:42 +01:00
data_uri.c
dauddec.c
daudenc.c
dca_sample_rate_tab.c
dcstr.c
demux_utils.c
demux.c avformat/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03:00
demux.h apply spelling fixes 2023-11-18 19:55:42 +01:00
derf.c
dfa.c
dfpwmdec.c
dhav.c
diracdec.c
dnxhddec.c
dovi_isom.c avformat/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03:00
dovi_isom.h
dsfdec.c
dsicin.c
dss.c
dtsdec.c
dtshddec.c
dump.c avformat/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03:00
dv.c
dv.h
dvbsub.c
dvbtxt.c
dvenc.c
dxa.c
eacdata.c
electronicarts.c
epafdec.c
evc.c
evc.h
evcdec.c
ffmeta.h
ffmetadec.c
ffmetaenc.c
fifo_test.c avformat/avformat: Deprecate AVFMT_ALLOW_FLUSH 2023-10-03 01:45:46 +02:00
fifo.c avformat/avformat: Deprecate AVFMT_ALLOW_FLUSH 2023-10-03 01:45:46 +02:00
file_open.c
file.c
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
flvenc.c avformat/flvenc: add extract_extradata bsf for new video codecs 2023-11-22 21:02:04 +08: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
gifdec.c lavf/gifdec: do not mark as notimestamps 2023-10-03 16:57:02 +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 avformat/hca: add support for decryption 2023-09-22 08:52:18 +02:00
hcom.c
hdsenc.c
hevc.c
hevc.h
hevcdec.c
hls_sample_encryption.c
hls_sample_encryption.h
hls.c avformat/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03:00
hlsenc.c avformat/hlsenc: Fix name of flag in error message 2023-11-12 16:47:40 +08:00
hlsplaylist.c avformat/hlsenc: Add CHANNELS to EXT-X-MEDIA for Audio 2023-11-12 16:44:47 +08:00
hlsplaylist.h avformat/hlsenc: Add CHANNELS to EXT-X-MEDIA for Audio 2023-11-12 16:44:47 +08:00
hlsproto.c
hnm.c
http.c
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
ifv.c
ilbc.c
imf_cpl.c
imf.h
imfdec.c
img2_alias_pix.c
img2_brender_pix.c
img2.c
img2.h
img2dec.c
img2enc.c
imx.c
ingenientdec.c
internal.h avformat/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03: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 missing CFHD tag 2023-09-29 18:40:52 +02:00
isom.c
isom.h
iss.c
iv8.c
ivfdec.c
ivfenc.c
jacosubdec.c avformat/jacosubdec: Check timeres 2023-10-08 21:36:00 +02:00
jacosubenc.c
jpegtables.c
jpegxl_anim_dec.c
jpegxl_parse.c
jvdec.c
kvag.c
lafdec.c avformat/lafdec: Check for 0 parameters 2023-11-03 22:16:33 +01:00
latmenc.c
libamqp.c
libavformat.v
libgme.c
libmodplug.c
libopenmpt.c
librist.c
librtmp.c
libsmbclient.c
libsrt.c
libssh.c avformat/libssh: avoid deprecated functions 2023-09-18 08:43:24 -04:00
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: add QOA demuxer 2023-11-26 17:49:11 +01:00
matroska.c
matroska.h
matroskadec.c avformat/matroskadec, mov: Fix declaration-after-statement warnings 2023-10-09 00:21:43 +02:00
matroskaenc.c avformat/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -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: Ignore duplicate ftyp 2023-12-05 12:12:10 +01:00
movenc_ttml.c
movenc_ttml.h
movenc.c avformat/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03:00
movenc.h
movenccenc.c
movenccenc.h
movenchint.c
mp3dec.c
mp3enc.c avformat/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03:00
mpc8.c
mpc.c
mpeg4audio_sample_rates.c
mpeg.c
mpeg.h
mpegaudiotabs.c
mpegenc.c avformat/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03:00
mpegts.c avformat/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03:00
mpegts.h
mpegtsenc.c avformat/avformat: Deprecate AVFMT_ALLOW_FLUSH 2023-10-03 01:45:46 +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/mux: do not apply max_interleave_delta to subtitles 2023-11-14 18:18:26 +01:00
mux.h avformat/avformat: Deprecate AVFMT_ALLOW_FLUSH 2023-10-03 01:45:46 +02:00
mvdec.c
mvi.c
mxf.c
mxf.h
mxfdec.c avformat/mxfdec: Check klv offset 2023-10-19 20:44:56 +02:00
mxfenc.c avformat/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03:00
mxg.c
ncdec.c
network.c
network.h
nistspheredec.c
nspdec.c
nsvdec.c
nullenc.c
nut.c swscale: add GBRAP14 format support 2023-09-28 19:37:58 +02:00
nut.h
nutdec.c
nutenc.c
nuv.c
oggdec.c
oggdec.h
oggenc.c avformat/avformat: Deprecate AVFMT_ALLOW_FLUSH 2023-10-03 01:45:46 +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 lavf: deprecate AVFMT_FLAG_SHORTEST 2023-09-18 17:10:59 +02:00
options.c avformat/options: add missing disposition flag to AVStream class options 2023-10-25 09:28:14 -03:00
os_support.c
os_support.h
osq.c
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
qoadec.c avformat: add QOA demuxer 2023-11-26 17:49:11 +01:00
qtpalette.c
qtpalette.h
r3d.c
rangecoder_dec.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/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03:00
replaygain.h
riff.c avcodec: LEAD MCMP decoder 2023-11-08 17:37:58 +11:00
riff.h
riffdec.c
riffenc.c
rka.c
rl2.c
rm.c
rm.h
rmdec.c
rmenc.c
rmsipr.c
rmsipr.h
rpl.c avformat/rpl: Check for number_of_chunks overflow 2023-10-08 21:36:02 +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 Revert "avformat/rtmpproto: Pass rw_timeout to underlying transport protocol" 2023-11-25 10:56:00 +08:00
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-27 18:10:47 +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 avformat/sbgdec: Check for negative duration or un-representable end pts 2023-10-08 18:56:27 +02:00
sccdec.c
sccenc.c
scd.c apply spelling fixes 2023-11-18 19:55:42 +01:00
sctp.c
sdns.c
sdp.c
sdr2.c
sdsdec.c
sdxdec.c
seek.c avformat/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03:00
segafilm.c
segafilmenc.c
segment.c
serdec.c
sga.c
shortendec.c
sierravmd.c
siff.c
smacker.c lavf/smacker: export sample_aspect_ratio 2023-11-05 11:30:13 +01:00
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 avformat/avformat: Deprecate AVFMT_ALLOW_FLUSH 2023-10-03 01:45:46 +02:00
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-15 18:54:37 +02:00
to_upper4.c
tta.c avformat/tta: Better totalframes check 2023-10-08 21:36:04 +02: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
usmdec.c avformat/usmdec: do not return 0 when no packet was produced 2023-10-16 01:09:09 +02:00
utils.c
vag.c
vapoursynth.c avformat/vf_vapoursynth: simplify xyz format check 2023-10-31 15:46:38 +01:00
vc1dec.c
vc1test.c
vc1testenc.c
version_major.h avformat/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03:00
version.c
version.h avformat: add QOA demuxer 2023-11-26 17:49:11 +01: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
w64.c
w64.h
wady.c
wavarc.c
wavdec.c avformat/wavdec: Check left avio_tell for overflow 2023-10-08 21:36:05 +02:00
wavenc.c
wc3movie.c
webm_chunk.c
webmdashenc.c
webpenc.c avformat/webpenc: Write correct size for single images when unseekable 2023-12-09 06:29:42 +01:00
webvttdec.c
webvttenc.c
westwood_aud.c
westwood_audenc.c
westwood_vqa.c avformat/westwood_vqa: Check chunk size 2023-10-03 20:09:27 +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
xmd.c
xmv.c
xvag.c
xwma.c avformat/xwma: sanity check bits_per_coded_sample 2023-10-08 21:36:07 +02:00
yop.c
yuv4mpeg.h
yuv4mpegdec.c
yuv4mpegenc.c