ffmpeg/libavformat
Dale Curtis 6db511a783 avformat/mov: Increment stsd_count while processing stsd data; avoids leaks.
In the event of ff_mov_read_stsd_entries() failure, sc->stsd_count
is not updated, even if the function allocates extradata memory.
Instead update the sc->stsd_count as entries are parsed so that
mov_read_close() can do the right thing.

Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-22 13:06:50 +01:00
..
tests movenc-test: fix potential uninitialized read 2017-11-13 20:33:10 +01:00
.gitignore
3dostr.c
4xm.c
Makefile aptx: add raw muxer and demuxer for aptX 2017-11-10 21:32:06 +00:00
a64.c
aacdec.c
aadec.c
ac3dec.c avformat/ac3dec: Check buf2 before adding 16 in ac3_eac3_probe() 2017-10-28 20:24:04 +02:00
acm.c
act.c
adp.c lavf/adp: Fix the probe function on systems with signed char. 2017-10-09 02:57:48 +02:00
ads.c
adtsenc.c Merge commit '831018b0bbe26a603802a9022472f714a59293be' 2017-10-30 17:47:21 -03:00
adxdec.c
aea.c
afc.c
aiff.h
aiffdec.c avformat: fix id3 chapters 2017-10-05 17:10:23 +02:00
aiffenc.c avformat: replace all uses of av_copy_packet() 2017-09-25 21:26:38 -03:00
aixdec.c
allformats.c aptx: add raw muxer and demuxer for aptX 2017-11-10 21:32:06 +00:00
amr.c lavf/amr: Do not set codec_tag for raw amr_nb and raw amr_wb. 2017-11-06 13:36:40 +01:00
anm.c
apc.c
ape.c
apetag.c
apetag.h
apngdec.c
apngenc.c avformat: replace all uses of av_copy_packet() 2017-09-25 21:26:38 -03:00
aptxdec.c aptx: add raw muxer and demuxer for aptX 2017-11-10 21:32:06 +00:00
aqtitledec.c
asf.c
asf.h
asfcrypt.c
asfcrypt.h
asfdec_f.c avformat: fix id3 chapters 2017-10-05 17:10:23 +02:00
asfdec_o.c avformat: fix id3 chapters 2017-10-05 17:10:23 +02:00
asfenc.c avformat/riff.h : remove unused function parameter "const AVCodecTag *tags" of "void ff_put_bmp_header()" 2017-08-02 15:26:25 +02:00
assdec.c
assenc.c
ast.c
ast.h
astdec.c
astenc.c
async.c
au.c
audiointerleave.c
audiointerleave.h
avc.c
avc.h
avformat.h avformat: remove unnecessary AVStreamParseType enum offset 2017-11-18 20:17:05 -03:00
avformatres.rc
avi.h
avidec.c avcodec/exif: remove GetByteContext usage from avpriv_exif_decode_ifd() 2017-10-26 00:45:49 -03:00
avienc.c avformat/riff.h : remove unused function parameter "const AVCodecTag *tags" of "void ff_put_bmp_header()" 2017-08-02 15:26:25 +02:00
avio.c lavf/avio: Print the https warning also for missing tls protocol. 2017-10-23 11:48:17 +02:00
avio.h avformat/avio: remove must_flush from AVIOContext 2017-11-20 21:41:38 +01:00
avio_internal.h lavf: make avio_read_partial() public 2017-09-01 17:56:33 +02:00
aviobuf.c lavf/aviobuf: return EINVAL when reading from a write-only context. 2017-10-29 19:40:52 +02:00
avisynth.c
avlanguage.c
avlanguage.h
avr.c
avs.c
bethsoftvid.c
bfi.c
bink.c lavf/bink: fix latest header and add all existing revisions 2017-08-20 11:33:51 +02:00
bintext.c
bit.c lavf/bit: Fix the G.729 bit auto-detection. 2017-09-30 20:41:52 +02:00
bluray.c
bmv.c
boadec.c
brstm.c
c93.c
cache.c libavformat: not treat 0 as EOF 2017-10-19 22:07:21 +02:00
caf.c lavf/caf: Support demuxing Opus. 2017-09-20 03:31:48 +02:00
caf.h
cafdec.c avformat/cafdec: reject multichannel Opus streams 2017-09-19 23:06:42 -03:00
cafenc.c lavf/cafenc: Only allow mono and stereo for Opus. 2017-10-17 23:00:07 +02:00
cavsvideodec.c
cdg.c
cdxl.c
chromaprint.c
cinedec.c avformat/cinedec: Fix DoS due to lack of eof check 2017-08-27 19:22:08 +02:00
concat.c libavformat: not treat 0 as EOF 2017-10-19 22:07:21 +02:00
concatdec.c avformat/concatdec: add fallback for calculating file duration 2017-08-31 15:33:52 +01:00
crcenc.c
crypto.c
cutils.c
dash.c avformat/dash:add copyright to dash.c 2017-09-01 18:52:56 +08:00
dash.h avformat/dash: move reused API to common file and header file 2017-09-01 10:20:56 +08:00
dashdec.c lavf/dashdec: Fix several memleaks. 2017-11-12 22:20:22 +08:00
dashenc.c avformat/dashenc: Added configuration to override HTTP User-Agent 2017-11-21 03:13:03 +01:00
data_uri.c
dauddec.c
daudenc.c
dcstr.c
dfa.c
diracdec.c
dnxhddec.c
dsfdec.c avformat: fix id3 chapters 2017-10-05 17:10:23 +02:00
dsicin.c
dss.c
dtsdec.c avcodec/dca: remove GetBitContext usage from avpriv_dca_parse_core_frame_header() 2017-07-21 12:18:10 -03:00
dtshddec.c
dump.c lavf/dump: Remove superfluous cast. 2017-08-29 01:33:47 +02:00
dv.c
dv.h
dvbsub.c
dvbtxt.c
dvenc.c
dxa.c
eacdata.c
electronicarts.c
epafdec.c
ffm.h
ffmdec.c
ffmenc.c
ffmeta.h
ffmetadec.c
ffmetaenc.c
fifo.c libavformat/fifo: Fix initialization of underlying AVFormatContext 2017-07-19 10:08:19 +02:00
file.c
file_open.c
filmstripdec.c
filmstripenc.c
fitsdec.c Add FITS Demuxer 2017-08-30 12:13:01 +02:00
fitsenc.c avformat/fitsenc: validate input pixel format 2017-11-13 20:33:10 +01:00
flac_picture.c Use the new AVIOContext destructor. 2017-09-01 02:16:33 -03:00
flac_picture.h
flacdec.c
flacenc.c
flacenc.h
flacenc_header.c
flic.c
flv.h
flvdec.c Merge commit '279e3aaa14daba6b7a37d75f3fb6e29c732d123f' 2017-10-28 15:29:23 -03:00
flvenc.c
format.c
framecrcenc.c
framehash.c
frmdec.c
fsb.c
ftp.c
g722.c
g723_1.c
g726.c lavf/g726: Demuxer for raw G.726 streams, both left- and right-justified. 2017-08-24 12:55:46 +02:00
g729dec.c
gdv.c avformat/gdv: Make FixedSize static 2017-09-07 15:19:22 +02:00
genh.c
gif.c avformat: replace all uses of av_copy_packet() 2017-09-25 21:26:38 -03:00
gifdec.c
golomb_tab.c
gopher.c
gsmdec.c
gxf.c
gxf.h
gxfenc.c
h261dec.c
h263dec.c
h264dec.c
hashenc.c
hdsenc.c Use the new AVIOContext destructor. 2017-09-01 02:16:33 -03:00
hevc.c hevc: Improve stream constraint values in common header 2017-10-17 20:56:29 +01:00
hevc.h
hevcdec.c
hls.c Merge commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3' 2017-09-26 16:02:40 -03:00
hlsenc.c avformat/hlsenc: use FFABS to instead of abs 2017-11-20 10:51:57 +08:00
hlsproto.c
hnm.c
http.c avformat/http: fix chunked response w/ multiple_requests=1 2017-11-14 07:36:51 -08:00
http.h
httpauth.c
httpauth.h
icecast.c
icodec.c
icoenc.c
id3v1.c
id3v1.h
id3v2.c avformat: fix id3 chapters 2017-10-05 17:10:23 +02:00
id3v2.h avformat: fix id3 chapters 2017-10-05 17:10:23 +02:00
id3v2enc.c
idcin.c
idroqdec.c
idroqenc.c
iff.c avformat: fix id3 chapters 2017-10-05 17:10:23 +02:00
ilbc.c
img2.c
img2.h
img2_alias_pix.c
img2_brender_pix.c
img2dec.c lavf/img2dec: Auto-detect svg images. 2017-10-07 03:42:00 +02:00
img2enc.c avformat/img2enc: add frame_pts option for make output filename 2017-11-13 10:52:01 +08:00
ingenientdec.c
internal.h avformat: move priv_pts from AVStream to an internal struct 2017-11-07 23:20:50 -03:00
ipmovie.c
ircam.c
ircam.h
ircamdec.c
ircamenc.c
isom.c libavformat : add mov dataformat tag for HapAlphaOnly and HapQAlpha 2017-09-24 21:54:13 +02:00
isom.h Merge commit '604fbb3132e88727e496c96c92cfe02748c25a1a' 2017-10-26 15:21:59 -03:00
iss.c
iv8.c
ivfdec.c
ivfenc.c
jacosubdec.c
jacosubenc.c
jvdec.c
latmenc.c Merge commit '831018b0bbe26a603802a9022472f714a59293be' 2017-10-30 17:47:21 -03:00
libavformat.v avformat: Drop deprecated feof() AVIO fuction 2017-10-21 22:08:08 -03:00
libgme.c
libmodplug.c
libopenmpt.c avformat/libopenmpt: Query duration and metadata after selecting subsong 2017-09-24 15:54:38 +01:00
librtmp.c
libsmbclient.c
libssh.c
lmlm4.c
loasdec.c
log2_tab.c
lrc.c
lrc.h
lrcdec.c
lrcenc.c
lvfdec.c
lxfdec.c
m4vdec.c
matroska.c
matroska.h
matroskadec.c Merge commit '55fe72a841ba306370e68e86c88f34b4456aa4dd' 2017-11-12 00:46:52 -03:00
matroskaenc.c Merge commit '827a05eaa9482e9ac2a17f7f2e42ead07c1d7574' 2017-10-21 13:19:36 -03:00
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
mov.c avformat/mov: Increment stsd_count while processing stsd data; avoids leaks. 2017-11-22 13:06:50 +01:00
mov_chan.c
mov_chan.h
mov_esds.c Merge commit '604fbb3132e88727e496c96c92cfe02748c25a1a' 2017-10-26 15:21:59 -03:00
movenc.c avformat/movenc: write clap atom for uncompressed yuv in mov 2017-11-20 02:40:45 +01:00
movenc.h movenc: Add an option for enabling negative CTS offsets 2017-09-28 18:15:45 +02:00
movenccenc.c
movenccenc.h
movenchint.c
mp3dec.c avformat/mp3dec: use FFABS to instead of abs 2017-11-20 10:49:42 +08:00
mp3enc.c avformat/mp3enc: flush buffered packets if referencing fails 2017-10-06 21:59:11 -03:00
mpc.c
mpc8.c
mpeg.c avformat/mpeg: zero initialize idx_pkt 2017-09-23 19:37:21 -03:00
mpeg.h
mpegenc.c
mpegts.c lavf/mpegts: Consider stream_type 0x0f just a hint towards AAC. 2017-09-20 02:20:32 +02:00
mpegts.h
mpegtsenc.c
mpegvideodec.c
mpjpeg.c
mpjpegdec.c Use the new AVIOContext destructor. 2017-09-01 02:16:33 -03:00
mpl2dec.c
mpsubdec.c
msf.c
msnwc_tcp.c
mtaf.c
mtv.c
musx.c
mux.c avformat: move priv_pts from AVStream to an internal struct 2017-11-07 23:20:50 -03:00
mvdec.c avformat/mvdec: check for EOF 2017-11-05 10:42:07 +01:00
mvi.c
mxf.c avformat/mxf: use FFABS to instead of abs 2017-11-20 10:50:30 +08:00
mxf.h
mxfdec.c lavf/mxfdec: Search all components of material track for source package. 2017-10-03 23:29:20 +02:00
mxfenc.c avformat/mxfenc: Fix labels for IEC PAL DV 420 2017-10-03 18:34:37 +02:00
mxg.c
ncdec.c
network.c Merge commit '61cec5adaacb358783c18aa07362f15824c1b274' 2017-11-01 16:52:05 -03:00
network.h avformat/tcp: add option to enable TCP_NODELAY 2017-11-17 10:48:55 -08:00
nistspheredec.c
nsvdec.c avformat/nsvdec: Fix DoS due to lack of eof check in nsvs_file_offset loop. 2017-09-01 01:48:31 +02:00
nullenc.c
nut.c
nut.h
nutdec.c
nutenc.c
nuv.c
oggdec.c Close ogg stream upon error when using AV_EF_EXPLODE. 2017-11-21 03:13:03 +01:00
oggdec.h
oggenc.c
oggparsecelt.c avformat/oggparsecelt: Do not re-allocate os->private 2017-07-25 22:04:34 +02:00
oggparsedaala.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 avformat: fix id3 chapters 2017-10-05 17:10:23 +02:00
omaenc.c
options.c
options_table.h avformat: remove use of deprecated AVFMT_FLAG_KEEP_SIDE_DATA flag 2017-10-29 00:09:52 -03:00
os_support.c Merge commit '2ca759657bcda328acc312e5882a940333a3e268' 2017-11-01 14:01:54 -03:00
os_support.h Merge commit 'e41daa62465036ad36ad0bd14e4936e848d7f07e' 2017-11-11 10:22:11 -03:00
paf.c
pcm.c
pcm.h
pcmdec.c
pcmenc.c
pjsdec.c
pmpdec.c
prompeg.c
protocols.c Merge commit '61cec5adaacb358783c18aa07362f15824c1b274' 2017-11-01 16:52:05 -03:00
psxstr.c
pva.c
pvfdec.c
qcp.c
qtpalette.c
qtpalette.h
r3d.c
rawdec.c lavf: make avio_read_partial() public 2017-09-01 17:56:33 +02:00
rawdec.h
rawenc.c aptx: add raw muxer and demuxer for aptX 2017-11-10 21:32:06 +00:00
rawenc.h
rawutils.c
rawvideodec.c
rdt.c Use the new AVIOContext destructor. 2017-09-01 02:16:33 -03:00
rdt.h
realtextdec.c
redspark.c
replaygain.c
replaygain.h
riff.c avformat/riff: remove useless tag correlation 'mpg2'->MPEG1VIDEO. 2017-08-02 15:26:35 +02:00
riff.h Merge commit '0539d84d985e811e5989ef27c13f7e2dda0f9b89' 2017-09-28 00:28:38 -03:00
riffdec.c Merge commit '0539d84d985e811e5989ef27c13f7e2dda0f9b89' 2017-09-28 00:28:38 -03:00
riffenc.c avformat/riff.h : remove unused function parameter "const AVCodecTag *tags" of "void ff_put_bmp_header()" 2017-08-02 15:26:25 +02:00
rl2.c avformat/rl2: Fix DoS due to lack of eof check 2017-08-27 19:23:30 +02:00
rm.c
rm.h
rmdec.c Merge commit '95ce02b35d3d1bb16111031df1d82a6e4d894d36' 2017-11-07 19:17:26 -03:00
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 Merge commit 'b864230c49089b087eef56988a3d6a784f6f9827' 2017-10-21 13:32:13 -03:00
rtmphttp.c
rtmppkt.c Merge commit 'a1a143adb0fd11c474221431417cff25db7d920f' 2017-09-26 18:29:05 -03:00
rtmppkt.h Merge commit 'a1a143adb0fd11c474221431417cff25db7d920f' 2017-09-26 18:29:05 -03:00
rtmpproto.c Merge commit 'b864230c49089b087eef56988a3d6a784f6f9827' 2017-10-21 13:32:13 -03:00
rtp.c
rtp.h
rtpdec.c
rtpdec.h
rtpdec_ac3.c
rtpdec_amr.c
rtpdec_asf.c avformat/rtpdec_asf: free the buffer pointed by the AVIOContext 2017-11-06 16:25:32 -03:00
rtpdec_dv.c
rtpdec_formats.h
rtpdec_g726.c
rtpdec_h261.c
rtpdec_h263.c
rtpdec_h263_rfc2190.c
rtpdec_h264.c avformat/rtpdec_h264: Fix heap-buffer-overflow 2017-08-23 22:19:33 +02:00
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
rtpenc.c lavf/rtpenc: Add support for 24 bit pcm encoding as defined by RFC 3190. 2017-10-29 15:30:02 +01:00
rtpenc.h
rtpenc_aac.c
rtpenc_amr.c
rtpenc_chain.c
rtpenc_chain.h
rtpenc_h261.c
rtpenc_h263.c
rtpenc_h263_rfc2190.c
rtpenc_h264_hevc.c
rtpenc_jpeg.c
rtpenc_latm.c
rtpenc_mpegts.c
rtpenc_mpv.c
rtpenc_vc2hq.c
rtpenc_vp8.c
rtpenc_vp9.c
rtpenc_xiph.c
rtpproto.c
rtpproto.h
rtsp.c rtsp: Move message parsing to a separate function 2017-10-06 00:22:10 -03:00
rtsp.h Merge commit '79331df362fb05a0d04ca9489c87e5b80077a3f4' 2017-10-03 23:08:06 -03:00
rtspcodes.h
rtspdec.c rtspdec: Fix return error 2017-07-10 15:02:29 -04:00
rtspenc.c
s337m.c avformat/s337m: fix potentially undefined pointer arithmetic 2017-07-26 21:23:07 +03:00
samidec.c
sapdec.c
sapenc.c
sauce.c
sauce.h
sbgdec.c
sccdec.c
sccenc.c
sctp.c
sdp.c lavf/rtpenc: Add support for 24 bit pcm encoding as defined by RFC 3190. 2017-10-29 15:30:02 +01:00
sdr2.c
sdsdec.c
sdxdec.c
segafilm.c
segment.c Fix several typos 2017-09-21 16:17:02 -08:00
shortendec.c
sierravmd.c
siff.c
smacker.c smacker: fix integer overflow with pts_inc 2017-09-24 12:58:42 +02:00
smjpeg.c
smjpeg.h
smjpegdec.c
smjpegenc.c
smoothstreamingenc.c Remove some unneeded casts of bit_rate. 2017-09-22 01:33:22 +02:00
smush.c
sol.c
sox.h
soxdec.c
soxenc.c
spdif.c
spdif.h
spdifdec.c Merge commit 'b5f19f7478492307e4b4763aeac3180faf50e17f' 2017-10-30 18:56:45 -03:00
spdifenc.c Merge commit 'b5f19f7478492307e4b4763aeac3180faf50e17f' 2017-10-30 18:56:45 -03:00
srtdec.c
srtenc.c
srtp.c
srtp.h
srtpproto.c
stldec.c
subfile.c avformat/subfile: allow to extract till EOF 2017-11-19 19:11:50 +01:00
subtitles.c avformat: replace all uses of av_copy_packet() 2017-09-25 21:26:38 -03:00
subtitles.h
subviewer1dec.c
subviewerdec.c
supdec.c
supenc.c Add SUP/PGS subtitle muxer 2017-09-09 12:07:14 +02:00
svag.c
swf.c
swf.h
swfdec.c Use the new AVIOContext destructor. 2017-09-01 02:16:33 -03:00
swfenc.c avformat/swfenc: use FFABS to instead of abs 2017-11-20 10:51:06 +08:00
takdec.c avcodec/tak: remove GetBitContext usage from avpriv_tak_parse_streaminfo() 2017-10-26 00:26:08 -03:00
tcp.c lavf/tcp: Fix the type of the optlen argument to getsockopt(). 2017-11-18 17:40:18 +01:00
tedcaptionsdec.c
tee.c
tee_common.c
tee_common.h
teeproto.c
thp.c
tiertexseq.c
tls.c
tls.h Merge commit '61cec5adaacb358783c18aa07362f15824c1b274' 2017-11-01 16:52:05 -03:00
tls_gnutls.c Merge commit 'eb061ad6fd0e3cea7cf7cfbff0749bc90dd7d888' 2017-11-02 23:39:28 -03:00
tls_openssl.c Merge commit '0671eb2346c17e8fb13784cf90ce416661fdea1c' 2017-11-02 23:27:53 -03:00
tls_schannel.c Merge commit '61cec5adaacb358783c18aa07362f15824c1b274' 2017-11-01 16:52:05 -03:00
tls_securetransport.c This fixes a deadlock while reading a chunked https response, if 2017-11-13 15:04:55 -06:00
tmv.c
tta.c
ttaenc.c
tty.c
txd.c
ty.c avformat/ty: check cur_chunk_pos before using it 2017-11-12 22:58:15 +01:00
udp.c build: Add feature test macros for glibc 2.19+ 2017-07-10 10:22:56 +02:00
uncodedframecrcenc.c
unix.c
url.c
url.h
urldecode.c
urldecode.h
utils.c avformat/utils: remove usage of AVCodecContext accessors 2017-11-15 01:14:22 -03:00
v210.c
vag.c
vc1dec.c
vc1test.c
vc1testenc.c
version.h avformat/hlsenc: creation of hls master playlist file 2017-11-20 10:04:34 +08:00
vivo.c
voc.c
voc.h
voc_packet.c
vocdec.c
vocenc.c
vorbiscomment.c
vorbiscomment.h
vpcc.c
vpcc.h
vpk.c
vplayerdec.c
vqf.c Remove some unneeded casts of bit_rate. 2017-09-22 01:33:22 +02:00
w64.c
w64.h
wavdec.c avcodec/wmaprodec: support multichannel XMA stream configurations 2017-10-09 17:06:19 +02:00
wavenc.c avformat/wavenc: skip writing incorrect peak-of-peaks position value 2017-10-26 08:29:41 +02:00
wc3movie.c
webm_chunk.c
webmdashenc.c webmdashenc: Fix memory leak 2017-07-16 16:09:17 +01:00
webpenc.c avformat: replace all uses of av_copy_packet() 2017-09-25 21:26:38 -03:00
webvttdec.c
webvttenc.c
westwood_aud.c
westwood_vqa.c
wsddec.c
wtv.h
wtv_common.c
wtvdec.c libavformat/wtvdec: return AVERROR_EOF on EOF 2017-10-13 17:23:54 +02:00
wtvenc.c avformat: replace all uses of av_copy_packet() 2017-09-25 21:26:38 -03:00
wv.c
wv.h
wvdec.c
wvedec.c
wvenc.c
xa.c
xmv.c
xvag.c
xwma.c
yop.c
yuv4mpeg.h
yuv4mpegdec.c avformat/yuv4mpeg: add gray9/10/12 support 2017-10-26 18:32:28 +02:00
yuv4mpegenc.c avformat/yuv4mpeg: add gray9/10/12 support 2017-10-26 18:32:28 +02:00