ffmpeg/libavformat
Katerina Barone-Adesi b45ab61b24 apetag: Fix APE tag size check
The size variable is (correctly) unsigned, but is passed to several functions
which take signed parameters, such as avio_read, sometimes after having
numbers added to it. So ensure that size remains within the bounds that
these functions can handle.

(cherry picked from commit c5560e72d0)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2014-09-17 07:07:22 -07:00
..
4xm.c 4xm: allocate extradata properly. 2014-05-18 10:19:35 +02:00
Makefile Add Icecast protocol 2014-08-04 12:56:42 +03:00
a64.c a64: Return correct error code on invalid data stream 2014-08-14 01:22:47 -07:00
aacdec.c aac: Register the mime type 2014-07-29 17:47:32 +02:00
ac3dec.c
adtsenc.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
adxdec.c adxdec: get rid of an avpriv function 2014-07-09 13:37:18 +00:00
aea.c
aiff.h
aiffdec.c
aiffenc.c
allformats.c Add Icecast protocol 2014-08-04 12:56:42 +03:00
amr.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
anm.c
apc.c
ape.c
apetag.c apetag: Fix APE tag size check 2014-09-17 07:07:22 -07:00
apetag.h
asf.c
asf.h
asfcrypt.c
asfcrypt.h
asfdec.c
asfenc.c asfenc: use codec descriptors instead of AVCodecs to write codec info 2014-05-01 09:26:20 +02:00
assdec.c
assenc.c
au.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
audiointerleave.c avpacket: Check for and return errors in ff_interleave_add_packet() 2014-07-17 03:18:46 -07:00
audiointerleave.h
avc.c
avc.h
avformat.h lavf: add AVFormatContext/AVStream fields for signaling to the user when events happen. 2014-08-13 16:04:48 +00:00
avi.h
avidec.c avi: Improve non-interleaved detection 2014-04-02 12:11:31 +02:00
avienc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
avio.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
avio.h
avio_internal.h mp3dec: decode more data from Info header 2014-04-17 20:08:19 +02:00
aviobuf.c mp3dec: decode more data from Info header 2014-04-17 20:08:19 +02:00
avisynth.c avisynth: set duration of audio streams 2014-05-16 14:41:02 +02:00
avlanguage.c
avlanguage.h
avs.c cosmetics: Write NULL pointer equality checks more compactly 2014-08-15 03:18:18 -07:00
bethsoftvid.c
bfi.c
bink.c
bmv.c
c93.c
caf.c
caf.h
cafdec.c mov: Drop unused parameter from ff_mov_read_esds() 2014-08-19 06:22:07 -07:00
cavsvideodec.c
cdg.c cdg: Forward error from avio_size() in read_header() function 2014-07-10 12:38:54 -07:00
cdxl.c
concat.c
crcenc.c
crypto.c
cutils.c
dauddec.c daud: split muxer and demuxer 2014-07-03 10:46:11 -07:00
daudenc.c daud: split muxer and demuxer 2014-07-03 10:46:11 -07:00
dfa.c
diracdec.c
dnxhddec.c
dsicin.c
dtsdec.c
dump.c avcodec: add stream-level stereo3d side data 2014-08-28 13:05:31 -04:00
dv.c lavc: export DV profile API used by muxer/demuxer as public 2014-07-09 13:35:07 +00:00
dv.h
dvenc.c lavc: export DV profile API used by muxer/demuxer as public 2014-07-09 13:35:07 +00:00
dxa.c
eacdata.c
electronicarts.c electronicarts: do not fail on zero-sized chunks 2014-08-22 11:25:40 +00:00
ffmeta.h
ffmetadec.c
ffmetaenc.c
file.c
file_open.c
filmstripdec.c
filmstripenc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
flac_picture.c
flac_picture.h
flacdec.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
flacenc.c flac muxer: support reading updated extradata from side data 2014-06-01 08:32:33 +02:00
flacenc.h flac muxer: support reading updated extradata from side data 2014-06-01 08:32:33 +02:00
flacenc_header.c flac muxer: support reading updated extradata from side data 2014-06-01 08:32:33 +02:00
flic.c
flv.h
flvdec.c flvdec: update AVFormatContext.event_flags with METADATA_UPDATED whenever metadata changes. 2014-08-13 16:23:28 +00:00
flvenc.c flvenc: Don't over-count metadata. 2014-06-17 21:38:21 +02:00
format.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
framecrcenc.c
framehash.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
g722.c
g723_1.c
gif.c
gopher.c
gsmdec.c
gxf.c
gxf.h
gxfenc.c
h261dec.c
h263dec.c
h264dec.c
hdsenc.c
hevc.c
hevc.h
hevcdec.c
hls.c
hlsenc.c hlsenc: Set the default codecs to AAC and H264 2014-05-17 01:34:16 +03:00
hlsproto.c
hnm.c
http.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
http.h http: Use a constant for the supported header size 2014-07-22 16:38:26 +02:00
httpauth.c
httpauth.h
icecast.c Add Icecast protocol 2014-08-04 12:56:42 +03:00
id3v1.c
id3v1.h
id3v2.c
id3v2.h
id3v2enc.c id3v2enc: use a case-insensitive comparison for APIC picture type 2014-07-03 18:40:37 +00:00
idcin.c
idroqdec.c
idroqenc.c
iff.c
ilbc.c
img2.c
img2dec.c
img2enc.c
ingenientdec.c
internal.h Revert "lavf: eliminate ff_get_audio_frame_size()" 2014-08-22 11:22:38 +00:00
ipmovie.c
isom.c Silicon Graphics RLE 8-bit video decoder 2014-04-19 16:24:26 +02:00
isom.h mov: Drop unused parameter from ff_mov_read_esds() 2014-08-19 06:22:07 -07:00
iss.c
iv8.c
ivfdec.c
ivfenc.c
jvdec.c
latmenc.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
libavformat.v
librtmp.c librtmp: Don't free the temp url at the end of rtmp_open 2014-07-06 17:49:02 +03:00
lmlm4.c
log2_tab.c
lxfdec.c
m4vdec.c
matroska.c matroskadec: parse stereo mode on decoding 2014-08-28 13:07:17 -04:00
matroska.h matroskadec: parse stereo mode on decoding 2014-08-28 13:07:17 -04:00
matroskadec.c matroskadec: parse stereo mode on decoding 2014-08-28 13:07:17 -04:00
matroskaenc.c matroskaenc: convert avstream stereo3d side data during encoding 2014-08-28 13:07:17 -04:00
md5enc.c
md5proto.c
metadata.c
metadata.h
mm.c
mmf.c
mms.c
mms.h
mmsh.c
mmst.c
mov.c mov: Drop unused parameter from ff_mov_read_esds() 2014-08-19 06:22:07 -07:00
mov_chan.c
mov_chan.h
movenc.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
movenc.h movenc: add track title to tracks 2014-08-06 13:27:17 -07:00
movenchint.c
mp3dec.c mp3dec: decode more data from Info header 2014-04-17 20:08:19 +02:00
mp3enc.c Check mp3 header before calling avpriv_mpegaudio_decode_header(). 2014-06-22 20:31:58 -04:00
mpc.c
mpc8.c
mpeg.c
mpeg.h
mpegenc.c mpegenc: limit the maximum muxrate 2014-08-27 06:25:24 +00:00
mpegts.c cosmetics: Write NULL pointer equality checks more compactly 2014-08-15 03:18:18 -07:00
mpegts.h mpegts: Add HEVC definitions 2014-08-05 11:30:50 +02:00
mpegtsenc.c mpegts: Do not try to write a PMT larger than SECTION_SIZE 2014-08-13 12:43:26 -07:00
mpegvideodec.c
mpjpeg.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
msnwc_tcp.c
mtv.c mtv: do not set sample_rate for video 2014-07-09 13:38:26 +00:00
mux.c avpacket: Check for and return errors in ff_interleave_add_packet() 2014-07-17 03:18:46 -07:00
mvdec.c Silicon Graphics Movie demuxer 2014-04-19 16:24:27 +02:00
mvi.c
mxf.c mxf: Support AAC 2014-08-17 16:11:16 +02:00
mxf.h mxf: Add UID print helpers 2014-08-17 16:11:02 +02:00
mxfdec.c mxf: Support AAC 2014-08-17 16:11:16 +02:00
mxfenc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
mxg.c
ncdec.c
network.c
network.h
noproxy-test.c
nsvdec.c cosmetics: Write NULL pointer equality checks more compactly 2014-08-15 03:18:18 -07:00
nullenc.c
nut.c
nut.h nut: Support experimental NUT 4 features 2014-05-28 22:04:56 +02:00
nutdec.c nutdec: update AVFormatContext.event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:23:36 +00:00
nutenc.c riffenc: take an AVStream instead of an AVCodecContext 2014-06-18 15:03:55 +02:00
nuv.c
oggdec.c
oggdec.h ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggenc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
oggparsecelt.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggparsedirac.c
oggparseflac.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggparseogm.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggparseopus.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggparseskeleton.c oggparseskeleton: do not use AVCodecContext.codec_name 2014-05-01 09:26:02 +02:00
oggparsespeex.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggparsetheora.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggparsevorbis.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oma.c
oma.h
omadec.c
omaenc.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
options.c
options_table.h avformat: Provide a standard compliance flag 2014-05-28 22:04:56 +02:00
os_support.c
os_support.h
paf.c
pcm.c
pcm.h
pcmdec.c
pcmenc.c
pmpdec.c
psxstr.c
pva.c
qcp.c
qtpalette.h
r3d.c
rawdec.c latm: Add a probe function 2014-05-03 18:51:17 +02:00
rawdec.h
rawenc.c
rawenc.h
rawvideodec.c
rdt.c rdt: check malloc calls 2014-05-24 07:51:12 +02:00
rdt.h
replaygain.c replaygain: allow exporting already decoded replaygain values 2014-04-17 20:08:19 +02:00
replaygain.h replaygain: allow exporting already decoded replaygain values 2014-04-17 20:08:19 +02:00
riff.c On2 AVC decoder 2014-04-23 19:57:44 +02:00
riff.h riffenc: take an AVStream instead of an AVCodecContext 2014-06-18 15:03:55 +02:00
riffdec.c
riffenc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
rl2.c
rm.c
rm.h
rmdec.c Replace av_malloc() and memset(0) by av_mallocz() 2014-06-22 18:43:11 +02:00
rmenc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
rmsipr.c
rmsipr.h
rpl.c
rso.c
rso.h
rsodec.c
rsoenc.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
rtmp.h
rtmpcrypt.c
rtmpcrypt.h
rtmpdh.c
rtmpdh.h
rtmphttp.c
rtmppkt.c rtmppkt: Add method to read an AMF string that is not prefixed by its type 2014-06-01 23:30:33 +03:00
rtmppkt.h rtmppkt: Add method to read an AMF string that is not prefixed by its type 2014-06-01 23:30:33 +03:00
rtmpproto.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
rtp.c
rtp.h
rtpdec.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec.h rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec_amr.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec_asf.c
rtpdec_formats.h
rtpdec_g726.c
rtpdec_h263.c
rtpdec_h263_rfc2190.c
rtpdec_h264.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec_ilbc.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec_jpeg.c
rtpdec_latm.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec_mpeg4.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec_mpeg12.c
rtpdec_mpegts.c
rtpdec_qcelp.c
rtpdec_qdm2.c
rtpdec_qt.c
rtpdec_svq3.c
rtpdec_vp8.c
rtpdec_xiph.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpenc.c cosmetics: Write NULL pointer equality checks more compactly 2014-08-15 03:18:18 -07:00
rtpenc.h
rtpenc_aac.c
rtpenc_amr.c
rtpenc_chain.c rtpenc_chain: Don't copy the time base to the source stream by default 2014-05-31 12:02:23 +03:00
rtpenc_chain.h
rtpenc_h263.c
rtpenc_h263_rfc2190.c
rtpenc_h264.c
rtpenc_jpeg.c rtpenc_jpeg: check for color_range too 2014-06-28 01:51:14 -04:00
rtpenc_latm.c
rtpenc_mpv.c
rtpenc_vp8.c
rtpenc_xiph.c
rtpproto.c
rtpproto.h
rtsp.c rtsp: Support misordered fmtp rtpmap 2014-06-18 22:03:40 +02:00
rtsp.h
rtspcodes.h
rtspdec.c cosmetics: Write NULL pointer equality checks more compactly 2014-08-15 03:18:18 -07:00
rtspenc.c cosmetics: Write NULL pointer equality checks more compactly 2014-08-15 03:18:18 -07:00
sapdec.c
sapenc.c rtpenc_chain: Don't copy the time base to the source stream by default 2014-05-31 12:02:23 +03:00
sauce.c
sauce.h
sctp.c
sdp.c cosmetics: Write NULL pointer equality checks more compactly 2014-08-15 03:18:18 -07:00
seek-test.c
seek.c
seek.h
segafilm.c
segment.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
sierravmd.c
siff.c
smacker.c
smjpeg.c
smjpeg.h
smjpegdec.c
smjpegenc.c
smoothstreamingenc.c smoothstreamingenc: Fix a memory leak on errors 2014-07-07 22:08:42 +03:00
smush.c LucasArts SMUSH demuxer 2014-04-06 16:41:41 +02:00
sol.c
sox.h
soxdec.c
soxenc.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
spdif.c
spdif.h
spdifdec.c
spdifenc.c
srtdec.c
srtp.c
srtp.h
srtpproto.c
swf.c
swf.h lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
swfdec.c
swfenc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
takdec.c
tcp.c
thp.c
tiertexseq.c
tls.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
tmv.c
tta.c
tty.c
txd.c txd: do not set the codec timebase. 2014-04-22 07:44:16 +02:00
udp.c
unix.c
url-test.c
url.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
url.h avformat: Mark argument in av_{i|o}format_next/ffurl_protocol_next as const 2014-07-26 14:51:16 -07:00
urldecode.c
urldecode.h
utils.c Revert "lavf: eliminate ff_get_audio_frame_size()" 2014-08-22 11:22:38 +00:00
vc1test.c vc1test: Check malloc call 2014-07-06 09:25:52 -07:00
vc1testenc.c
version.h lavf: add AVFormatContext/AVStream fields for signaling to the user when events happen. 2014-08-13 16:04:48 +00:00
voc.c
voc.h
vocdec.c
vocenc.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
vorbiscomment.c vorbiscomment: simplify API by using av_dict_count() 2014-05-28 07:54:54 +02:00
vorbiscomment.h vorbiscomment: simplify API by using av_dict_count() 2014-05-28 07:54:54 +02:00
vqf.c
wavdec.c
wavenc.c wavenc: use codec descriptors to get the codec name 2014-05-18 20:33:38 +02:00
wc3movie.c
westwood_aud.c
westwood_vqa.c
wtv.c
wv.c
wv.h
wvdec.c
wvenc.c
xa.c
xmv.c
xwma.c
yop.c yop: only set extradata size after it has been successfully allocated 2014-05-18 10:22:42 +02:00
yuv4mpeg.h yuv4mpeg: split the demuxer and muxer into separate files 2014-05-18 10:21:31 +02:00
yuv4mpegdec.c yuv4mpegdec: do not set coded_frame properties 2014-05-18 10:22:08 +02:00
yuv4mpegenc.c yuv4mpegenc: do not access AVCodecContext.coded_frame 2014-07-09 13:40:39 +00:00