Laurent Aimar
6de33611c9
avsdemux: check for out of bound writes
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Laurent Aimar
76c6971a64
avsdemux: check for corrupted data
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Clément Bœsch
92e36ee567
libmodplug: do not call av_expr_parse() in case of no expr specified.
13 years ago
Clément Bœsch
964465eb1a
libmodplug: simpler and faster use of eval expr.
13 years ago
Mans Rullgard
1703013cb7
avidec: fix signed overflow in avi_sync()
...
Keeping byte values read from the file as unsigned is consistent
with how they are subsequently used and avoids an undefined left
shift by 24 when bit 7 is set.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Alex Converse
0c46e958d1
mxfdec: Fix some buffer overreads caused by the misuse of AVPacket related functions.
13 years ago
Tomas Härdin
d377deaaa3
mxfdec: Move FooterPartition to MXFContext and make sure it's never set to zero
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
4b4a6ebd68
Support playing SMV files.
...
Audio and video are interleaved via stream cur_dts - no idea how
reliable this is.
It also cannot display the video properly - it is stored with
about 15 in a single JPEG frame, I cannot think of a reasonable
way to implement this.
Samples: http://samples.mplayerhq.hu/smv/
Format description: http://wiki.multimedia.cx/index.php?title=SMV
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Clément Bœsch
86a771143f
libmodplug: add bintext video stream capability.
13 years ago
Michael Niedermayer
b2f88ce21c
mpegts: reduce av_log level for seek back to begin on unseekable protocols to info level.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Petter Ericson
1fb30586cf
mpegts: Attempt to seek back to beginning in non-seekable mpegts files.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Janne Grunau
2886f6759f
avidec: simplify size parameter in memset()
13 years ago
Carl Eugen Hoyos
0b3e070035
Bump minor for G.723.1 encoder and muxer.
13 years ago
Mohamed Naufal
19562b68cb
g723.1 muxer
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
059707ee2d
Do not auto-detect Sorenson Spark in f4v.
...
Assuming codec_tag H263 for FLV only leads to trouble.
13 years ago
Carl Eugen Hoyos
7e75f06182
Be less verbose about continuity check errors.
13 years ago
Laurent Aimar
e3123856c7
vqa: fix double free on corrupted streams
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
a31e9f68a4
lavf: fix signed overflow in avformat_find_stream_info()
...
On the first iteration through this code, last_dts is always
INT64_MIN (AV_NOPTS_VALUE) and the subtraction overflows in
an invalid manner. Although the result is only used if the
input values are valid, performing the subtraction is still
not allowed in a strict environment.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Alex Converse
98ef887a75
mpegps: Use av_get_packet() instead of poorly emulating it.
13 years ago
Maksym Veremeyenko
4052bf69ac
return error code if error happens
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurent Aimar
1e3336de69
mpc8: Fix return value on EOF
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Laurent Aimar
1775b92fee
segafilm: Check for memory allocation failures in segafilm demuxer.
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Laurent Aimar
762ffa6861
segafilm: Fix potential division by 0 on corrupted streams in the demuxer
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Laurent Aimar
790f4dd5c9
Fixed segfault on corrupted sega streams in the demuxer.
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Michael Niedermayer
f7fbbf466f
lavf/utils: document AVIndexEntry.timestamp
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
955113e31b
mpegps: drop incorrect line of sofdec detection
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
1b3b4a575b
libmodplug: free file content buffer in read_close() callback.
13 years ago
Clément Bœsch
8830c4e8a9
libmodplug: add TODO entry for probing.
13 years ago
Clément Bœsch
c768e96668
libmodplug: add metadata support.
13 years ago
Clément Bœsch
e6f937237a
libmodplug: add an option to enlarge the max supported file size.
13 years ago
Clément Bœsch
a763b46298
libmodplug: support options (noise reduction, reverb, bass boost, ...)
13 years ago
Michael Niedermayer
714517b26a
flvenc: Ignore metadata that has special values and is stored already based on
...
more correct values.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
63b6d5f33f
update_stream_timings: Remove redundant check.
...
Found-by:Nicolas
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
d7366d918f
libmodplug: handle EOF correctly.
13 years ago
Carl Eugen Hoyos
d9b6068764
Use WMAv2 as default audio codec for asf.
13 years ago
Carl Eugen Hoyos
3bcbd8c5c7
Use M4S2 as default video tag for MPEG-4 ASP in asf.
13 years ago
Clément Bœsch
9a2ceee2e3
libmodplug: simplify and fix read_packet() callback.
...
In case of av_new_packet() error, a correct return error code is raised,
the data memcpy is avoided, and pkt dts/pts are not assigned anymore
(since the defaults are good).
13 years ago
Clément Bœsch
5420885737
libmodplug: consistent use of sizeof.
13 years ago
Michael Niedermayer
f9bd979476
generic seeking: fail if there are 1000 non keyframes found with no keyframe.
...
This avoids scanning through a whole file just to fail.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
a4ea00d021
lavc/lavf: use unique private classes.
...
This is needed by the new AVOptions API.
13 years ago
Clément Bœsch
26c7ff9317
Add libmodplug support.
13 years ago
Diego Biurrun
12bd8532cf
Synchronize various 4CCs and codec tags from FFmpeg.
13 years ago
Clément Bœsch
5241e0144f
isom: replace pseudo doxycomments with normal comments.
...
Those chunks don't need to be parsed and they weren't parsed correctly
by Doxygen anyway.
13 years ago
Justin Ruggles
fc2dd2c7ac
ogg/celt: do not set sample_fmt in the demuxer
13 years ago
Michael Niedermayer
85ea5c6e73
lavf/utils: fix overestimation of the rational number density.
...
Fixes Ticket498
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Loren Osborn
bf5c3bac51
mpegtsenc: Lift limit on PMT PID
...
Fixes Ticket518
13 years ago
Anton Khirnov
60df6b0048
id3v2: remove pointless casts
13 years ago
Anton Khirnov
d2961e4ebf
id3v2: read TXXX frames with two calls to decode_str() instead of one.
...
Read the key in the first, value in the second.
This allows to avoid pointless strdups and simplify decode_str() by
dropping two of its parameters.
13 years ago
Anton Khirnov
1e18d32d01
id3v2: don't discard the whole tag when encountering empty frames.
...
While they're technically invalid, it's better to skip them and try to
read the rest of the tag.
13 years ago
Compn
3ebab62fc6
riff: map 0x0038 to amrnb, works on http://video.mopoto.com/4/40/407/40709.avi
13 years ago