ffmpeg/libavformat
Andreas Cadhalpun b0a043f51b dcstr: fix division by zero
Also check for possible overflows.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-10-21 19:41:09 +02:00
..
tests FATE: Add test for muxing discontinuous MP4 fragments with large timestamps 2016-10-19 13:25:21 +02:00
.gitignore
3dostr.c
4xm.c
Makefile avformat/fifo: Add fate test 2016-08-22 22:07:48 +02:00
a64.c
aacdec.c lavf/aacdec: Do not autodetect a single frame inside the file. 2016-09-24 18:33:55 +02:00
aadec.c
ac3dec.c
acm.c
act.c
adp.c
ads.c
adtsenc.c
adxdec.c
aea.c
afc.c
aiff.h lavf/aiffdec: Support QDMC demuxing. 2016-07-03 04:37:48 +02:00
aiffdec.c aiff: check block_align in aiff_read_packet 2016-10-21 19:40:59 +02:00
aiffenc.c lavf/aiffenc: Write extradata also for qcelp. 2016-10-11 09:52:34 +02:00
aixdec.c
allformats.c avformat: Add fifo pseudo-muxer 2016-08-22 22:03:37 +02:00
amr.c
anm.c
apc.c
ape.c
apetag.c
apetag.h
apngdec.c
apngenc.c
aqtitledec.c
asf.c
asf.h
asfcrypt.c
asfcrypt.h
asfdec_f.c avformat/avlanguage: make av_convert_lang_to() internal 2016-07-19 21:43:14 -03:00
asfdec_o.c avformat/avlanguage: make av_convert_lang_to() internal 2016-07-19 21:43:14 -03:00
asfenc.c avformat/avlanguage: make av_convert_lang_to() internal 2016-07-19 21:43:14 -03:00
assdec.c
assenc.c
ast.c
ast.h
astdec.c astdec: fix division by zero 2016-10-17 20:41:26 +02:00
astenc.c
async.c
au.c
audiointerleave.c
audiointerleave.h
avc.c
avc.h
avformat.h avformat: add av_stream_get_codec_timebase() 2016-09-27 10:42:39 -03:00
avformatres.rc
avi.h
avidec.c lavf/avidec: Be more verbose when ignoring very large tag size. 2016-10-18 15:01:50 +02:00
avienc.c avformat/avlanguage: make av_convert_lang_to() internal 2016-07-19 21:43:14 -03:00
avio.c
avio.h
avio_internal.h avformat/avio: add a crc callback function for CRC-32 IEEE-LE 2016-08-04 16:25:32 -03:00
aviobuf.c lavf/aviobuf.c: Adapt avio_accept and avio_handshake to new AVIOContext API 2016-10-03 23:28:48 +02:00
avisynth.c avisynth: support pix_fmts added to AviSynth+ 2016-08-30 00:23:52 +02:00
avlanguage.c avformat/avlanguage: make av_convert_lang_to() internal 2016-07-19 21:43:14 -03:00
avlanguage.h avformat/avlanguage: make av_convert_lang_to() internal 2016-07-19 21:43:14 -03:00
avr.c
avs.c
bethsoftvid.c
bfi.c
bink.c lavf/bink.c: fix warning due to misleading indentation 2016-10-03 15:42:27 +01:00
bintext.c
bit.c
bluray.c
bmv.c
boadec.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 cosmetics: fix some misspelled words 2016-07-17 13:10:27 -03:00
concat.c
concatdec.c avformat/concatdec: don't call open_file when seek position within a file 2016-09-28 20:31:22 +02:00
crcenc.c
crypto.c avformat/crypto: add seeking support on read 2016-08-30 17:14:28 +02:00
cutils.c
dashenc.c
data_uri.c
dauddec.c
daudenc.c
dcstr.c dcstr: fix division by zero 2016-10-21 19:41:09 +02:00
dfa.c
diracdec.c
dnxhddec.c avcodec/dnxhddata: move avpriv_dnxhd_parse_header_prefix to a header 2016-07-25 12:19:39 -03:00
dsfdec.c
dsicin.c
dss.c
dtsdec.c
dtshddec.c
dump.c
dv.c
dv.h
dvbsub.c
dvbtxt.c
dvenc.c Merge commit 'b7f98659f21dce438c33b512e25fd64b8d07c347' 2016-06-29 11:16:01 +02:00
dxa.c
eacdata.c
electronicarts.c
epafdec.c
ffm.h
ffmdec.c
ffmenc.c
ffmeta.h
ffmetadec.c
ffmetaenc.c
fifo.c avformat: Add fifo pseudo-muxer 2016-08-22 22:03:37 +02:00
file.c
file_open.c
filmstripdec.c
filmstripenc.c
flac_picture.c
flac_picture.h
flacdec.c
flacenc.c
flacenc.h
flacenc_header.c
flic.c
flv.h
flvdec.c avformat/flvdec: parse keyframe before a\v stream was created add_keyframes_index() when stream created or keyframe parsed 2016-07-27 19:29:55 +02:00
flvenc.c avformat/flvenc: do not attempt to write duration and filesize when not seekable 2016-10-20 18:07:24 +02:00
format.c
framecrcenc.c
framehash.c
frmdec.c
fsb.c
ftp.c
g722.c
g723_1.c
g729dec.c
genh.c
gif.c
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
hevc.c
hevc.h
hevcdec.c
hls.c avformat/hls: Fix handling of EXT-X-BYTERANGE streams over 2GB 2016-09-24 09:46:32 +03:00
hlsenc.c lavf: fix typos 2016-10-09 20:09:00 +02:00
hlsproto.c
hnm.c
http.c avformat/http: Fix #ifdef FF_API_HTTP_USER_AGENT 2016-09-17 20:14:10 +02:00
http.h
httpauth.c lavf/httpauth: Do case-insensitive http header checks. 2016-09-03 13:56:40 +02:00
httpauth.h
icecast.c
icodec.c
icoenc.c
id3v1.c
id3v1.h
id3v2.c avformat/id3v2: fix memleak with empty strings 2016-08-11 14:10:19 +02:00
id3v2.h
id3v2enc.c
idcin.c
idroqdec.c
idroqenc.c
iff.c
ilbc.c
img2.c lavf/img2: Remove ffv1-img. 2016-07-15 10:25:02 +02:00
img2.h
img2_alias_pix.c
img2_brender_pix.c
img2dec.c lavf/img2dec: Skip DQT segment when auto-detecting jpg. 2016-09-03 13:38:16 +02:00
img2enc.c avformat/img2enc: Use AV_FRAME_FILENAME_FLAGS_MULTIPLE, support tee: 2016-08-04 23:22:54 +02:00
ingenientdec.c
internal.h avformat/mux: implement AVFMT_FLAG_SHORTEST 2016-09-11 23:17:31 +02:00
ipmovie.c
ircam.c
ircam.h
ircamdec.c
ircamenc.c
isom.c lavc/raw: Support QT b64a ARGB64 rawvideo. 2016-08-13 01:44:52 +02:00
isom.h mov: Remove ancient heuristic hack 2016-08-25 21:12:19 +02:00
iss.c
iv8.c
ivfdec.c
ivfenc.c ivfenc: Add VPX codec tags. 2016-09-10 16:40:47 -07:00
jacosubdec.c
jacosubenc.c
jvdec.c
latmenc.c
libavformat.v Merge commit '535a742c2695a9e0c586b50d7fa76e318232ff24' 2016-06-27 17:56:47 +02:00
libgme.c
libmodplug.c
libnut.c
libopenmpt.c libopenmpt: Add "date" to metadata. 2016-07-21 02:47:35 +01:00
librtmp.c librtmp: Avoid an infiniloop setting connection arguments 2016-07-26 12:05:29 -07:00
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 avformat/matroskadec: support parsing Chroma Location elements 2016-10-18 20:39:07 -03:00
matroskadec.c avformat/matroskadec: fix BitsPerChannel element's default value 2016-10-18 23:55:32 -03:00
matroskaenc.c avformat/matroskaenc: write a DisplayUnit element when aspect ratio is unknown 2016-10-15 20:48:03 -03:00
md5proto.c
metadata.c
metadata.h
mgsts.c
microdvddec.c
microdvdenc.c
mkvtimestamp_v2.c
mlpdec.c
mlvdec.c
mm.c
mmf.c
mms.c
mms.h
mmsh.c lavf: forward protocol_whitelist for the remaining cases 2016-08-05 16:18:49 +02:00
mmst.c
mov.c lavf/mov: support gopro hero moments udta tag 2016-10-19 13:25:21 +02:00
mov_chan.c
mov_chan.h
movenc.c avformat/movenc: Skip duration check for discontinuous fragments 2016-10-19 13:25:21 +02:00
movenc.h lavf/movenc: Allow to disable writing the timecode track. 2016-09-26 08:50:48 +02:00
movenccenc.c
movenccenc.h
movenchint.c
mp3dec.c
mp3enc.c lavf/mp3enc: write encoder delay/padding upon closing 2016-10-18 20:19:43 +02:00
mpc.c
mpc8.c
mpeg.c
mpeg.h
mpegenc.c
mpegts.c
mpegts.h
mpegtsenc.c lavf/mpegtsenc: fix autobsf when the first NAL is 0x1<XX> bytes 2016-10-04 01:20:20 -05:00
mpegvideodec.c
mpjpeg.c
mpjpegdec.c
mpl2dec.c
mpsubdec.c
msf.c avformat/msf: add support for ATRAC3 codec 2016-09-15 16:59:31 +02:00
msnwc_tcp.c
mtaf.c
mtv.c
musx.c
mux.c lavf: add a flag to enable/disable automatic bitstream filtering 2016-09-12 21:50:32 -05:00
mvdec.c
mvi.c
mxf.c
mxf.h
mxfdec.c libavformat/mxfdec: add metadata streams for external referenced sourclips 2016-10-21 02:04:19 +02:00
mxfenc.c lavf/mxfenc: Do not print a useless error message. 2016-10-11 09:45:37 +02:00
mxg.c
ncdec.c
network.c
network.h
nistspheredec.c
nsvdec.c
nullenc.c
nut.c avformat/avcodec: support rawvideo with planar rgb and alpha in nut 2016-08-23 16:52:21 +02:00
nut.h
nutdec.c
nutenc.c
nuv.c
oggdec.c
oggdec.h avformat/oggdec: Fix integer overflow with invalid pts 2016-08-03 16:09:03 +02:00
oggenc.c avformat/oggenc: add vp8 muxing support 2016-07-20 22:32:48 -03:00
oggparsecelt.c
oggparsedaala.c
oggparsedirac.c
oggparseflac.c
oggparseogm.c
oggparseopus.c
oggparseskeleton.c
oggparsespeex.c
oggparsetheora.c
oggparsevorbis.c
oggparsevp8.c lavf: fix typos 2016-10-09 20:09:00 +02:00
oma.c
oma.h
omadec.c
omaenc.c
options.c avformat/mux: implement AVFMT_FLAG_SHORTEST 2016-09-11 23:17:31 +02:00
options_table.h lavf: add a flag to enable/disable automatic bitstream filtering 2016-09-12 21:50:32 -05:00
os_support.c
os_support.h
paf.c
pcm.c
pcm.h
pcmdec.c lavf/pcmdec: Try to fix msvc compilation after 4c42d306. 2016-08-18 09:45:25 +02:00
pcmenc.c
pjsdec.c
pmpdec.c
protocols.c avformat: Add tee protocol 2016-07-19 18:41:19 +02:00
psxstr.c cosmetics: fix some misspelled words 2016-07-17 13:10:27 -03:00
pva.c
pvfdec.c
qcp.c
qtpalette.c
qtpalette.h
r3d.c
rawdec.c
rawdec.h
rawenc.c libavformat/rawenc: add dnxhr raw format extension 2016-07-21 04:15:15 +02:00
rawenc.h
rawutils.c
rawvideodec.c
rdt.c
rdt.h
realtextdec.c
redspark.c
replaygain.c
replaygain.h
riff.c lavf/riff: Document the interleaving of VSM4 video. 2016-10-19 23:39:19 +02:00
riff.h
riffdec.c
riffenc.c lavf/riffenc: Always write unexpected channel_mask. 2016-10-12 12:34:48 +02:00
rl2.c
rm.c
rm.h
rmdec.c lavf/rmdec: Do not return EIO on EOF. 2016-08-02 16:16:31 +02:00
rmenc.c
rmsipr.c
rmsipr.h
rpl.c
rsd.c rsd: limit number of channels 2016-10-20 19:54:54 +02:00
rso.c
rso.h
rsodec.c
rsoenc.c
rtmp.h
rtmpcrypt.c
rtmpcrypt.h
rtmpdh.c
rtmpdh.h
rtmphttp.c lavf: forward protocol_whitelist for the remaining cases 2016-08-05 16:18:49 +02:00
rtmppkt.c
rtmppkt.h
rtmpproto.c avformat/rtmpproto: Fix RTMP control message handling error in listen mode. 2016-10-21 16:16:32 +02:00
rtp.c
rtp.h
rtpdec.c Merge commit 'b7f98659f21dce438c33b512e25fd64b8d07c347' 2016-06-29 11:16:01 +02:00
rtpdec.h
rtpdec_ac3.c
rtpdec_amr.c
rtpdec_asf.c libavformat/rtpdec_asf: zero initialize the AVIOContext struct 2016-07-25 19:39:13 +02:00
rtpdec_dv.c
rtpdec_formats.h
rtpdec_g726.c
rtpdec_h261.c
rtpdec_h263.c
rtpdec_h263_rfc2190.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_svq3.c
rtpdec_vc2hq.c
rtpdec_vp8.c
rtpdec_vp9.c
rtpdec_xiph.c
rtpenc.c
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 lavf/rtsp: Fix a crash with the RTSP muxer. 2016-09-15 13:50:57 +02:00
rtsp.h
rtspcodes.h
rtspdec.c
rtspenc.c
samidec.c
sapdec.c
sapenc.c
sauce.c
sauce.h
sbgdec.c
sctp.c
sdp.c cosmetics: fix some misspelled words 2016-07-17 13:10:27 -03:00
sdr2.c
segafilm.c
segment.c lavf/segment: decide whether to rename based on list URI 2016-10-21 01:43:59 -05:00
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
svag.c
swf.c
swf.h
swfdec.c lavf: fix typos 2016-10-09 20:09:00 +02:00
swfenc.c
takdec.c Merge commit 'b668662939de3a02454cfc9ba3e6d10b87527a40' 2016-06-29 11:35:10 +02:00
tcp.c
tedcaptionsdec.c
tee.c avformat/tee: Copy interrupt callback and flags to slave 2016-09-29 17:17:26 +02:00
tee_common.c avformat/tee: Factor parse_slave_options() out 2016-08-02 20:22:55 +02:00
tee_common.h avformat/tee: Factor parse_slave_options() out 2016-08-02 20:22:55 +02:00
teeproto.c avformat/teeproto: set forgotten url_close() 2016-08-05 18:59:21 +02:00
thp.c
tiertexseq.c
tls.c
tls.h
tls_gnutls.c
tls_openssl.c openssl: Support version 1.1.0. 2016-10-21 15:16:44 +11:00
tls_schannel.c
tls_securetransport.c
tmv.c
tta.c avformat/tta: remove custom crc callback function 2016-08-04 16:25:36 -03:00
ttaenc.c avformat: add a TTA Muxer 2016-08-04 16:25:40 -03:00
tty.c
txd.c
udp.c lavf/udp: Do not use MCAST_* for multicast on tvOS. 2016-09-03 15:18:40 +02:00
uncodedframecrcenc.c
unix.c
url.c
url.h
urldecode.c
urldecode.h
utils.c avformat: prevent triggering request_probe assert in ff_read_packet 2016-10-19 23:13:28 +02:00
v210.c
vag.c
vc1dec.c
vc1test.c
vc1testenc.c
version.h avformat: bump minor version after the Matroska field order enum fix 2016-10-12 19:40:42 -03: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 lavf/vplayerdec: Improve auto-detection. 2016-07-15 10:36:05 +02:00
vqf.c
w64.c
w64.h
wavdec.c
wavenc.c
wc3movie.c
webm_chunk.c libavformat/webm_chunk: Option to specify HTTP header 2016-09-16 03:13:21 +02:00
webmdashenc.c
webpenc.c
webvttdec.c
webvttenc.c
westwood_aud.c westwood_aud: prevent division by zero 2016-10-17 20:42:18 +02:00
westwood_vqa.c
wsddec.c
wtv.h
wtv_common.c
wtvdec.c avformat/wtvdec: Check pointer before use 2016-08-21 21:31:46 +02:00
wtvenc.c
wv.c
wv.h
wvdec.c
wvedec.c
wvenc.c
xa.c
xmv.c
xvag.c
xwma.c
yop.c
yuv4mpeg.h
yuv4mpegdec.c
yuv4mpegenc.c