Michael Niedermayer
97437dada6
h264dec: Prevent CABAC and CAVLC bitsteram overreading
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 23f5cff92c )
14 years ago
Art Clarke
c8736de331
libspeex encoder wraper
taken from svn head of xuggle
(cherry picked from commit a52cdcd296 )
14 years ago
Joakim Plate
92f1b5df32
dvbsubdec: don't hardcode subtitle colors count in dvbsubdec to 16
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 4a3294ef00 )
14 years ago
Laurent Aimar
82e4fd193f
Fixed segfault with wavpack decoder on corrupted decorrelation terms sub-blocks.
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 8bfea4ab4e )
14 years ago
Alex Converse
3a0649ddeb
cljr: init_get_bits size in bits instead of bytes
(cherry picked from commit 0c1f5b93d9 )
14 years ago
Alex Converse
9f05400ea8
indeo2: fail if input buffer too small
(cherry picked from commit b7ce4f1d1c )
14 years ago
Alex Converse
09cfd6f597
indeo2: init_get_bits size in bits instead of bytes
(cherry picked from commit 68ca330cbd )
14 years ago
Michael Niedermayer
b2af83a9ed
cabac test: Change input to test, so a wider range of states is tested.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 1eb805ed70 )
14 years ago
Michael Niedermayer
f38b2a6be8
cabac test: match encode and decode side
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 830d7d5c4f )
14 years ago
Michael Niedermayer
db93a5a0c8
cabac: fix cabac encoder
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 89653ea728 )
14 years ago
Laurent Aimar
b5fe6bee01
Fixed deference of NULL pointer in motionpixels decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 824f98f442 )
14 years ago
Laurent Aimar
7181adab80
Fixed size given to init_get_bits().
init_get_bits() takes a number of bits and not a number of bytes as
its size argument.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit e5e0580b93 )
14 years ago
Laurent Aimar
bac822025e
Fixed size given to init_get_bits() in ffv1 decoder.
init_get_bits() takes a number of bits and not a number of bytes as
its size argument.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 8362a0ffed )
14 years ago
Alex Converse
8a8aafd2b9
wavpack: Check error codes rather than working around error conditions.
(cherry picked from commit dba2b63a98 )
14 years ago
Michael Niedermayer
a13ef61051
rc: finetune convergence failure fix
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 73e0ec2ff4 )
14 years ago
Michael Niedermayer
4fbc35cd53
rc: fix convergence failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ed14517c23 )
14 years ago
Laurent Aimar
558cf502ac
Fixed invalid writes in wavpack decoder on corrupted bitstreams.
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 0aedab0340 )
14 years ago
Chris Rankin
b0da6a744a
qcelpdec: fix the return value of qcelp_decode_frame().
(cherry picked from commit 04c13dca88 )
14 years ago
Michael Niedermayer
d99613bad6
jpeglsdec: fix infinite loop
Fixes Ticket331
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit bd358e128f )
14 years ago
Kostya Shishkov
c026f336b9
wavpack: fix wrong return value in wavpack_decode_block()
This function should return number of samples decoded, not number of bytes
decoded.
Spotted by Uoti Urpala.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit bcd4aa8bec )
14 years ago
Reimar Döffinger
5c2d684986
Check extradata size on resolution change.
Ignore resolution change if resolution not defined in extradata.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
(cherry picked from commit 09c5f990bc )
14 years ago
Gavin Kinsey
30442fa217
jpegdec: set color_range
(cherry picked from commit 2f870e262e )
14 years ago
Michael Niedermayer
e7d10f5a90
mpeg4: fix typo in mpeg4_encode_gop_header()
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit f5bda9fcbb )
14 years ago
Michael Niedermayer
ca5dfd1550
h264: clean all non null elements of delayed_pic[]
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 66ce282df5 )
14 years ago
Michael Niedermayer
1979a9b4f2
h264: change MAX_DELAYED_PIC_COUNT check to av_assert0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit b955ab2f49 )
14 years ago
Edgar Hucek
3af3a871af
Fix VA-API decoding artefacts.
Fixes ticket #457 .
(cherry picked from commit 3fec40b601 )
14 years ago
Alex Converse
48ba48fb13
wavpack: Check error codes rather than working around error conditions.
(cherry picked from commit dba2b63a98 )
14 years ago
Laurent Aimar
e1baba3ddb
Fixed invalid access in wavpack decoder on corrupted bitstream.
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 55354b7de2 )
14 years ago
Laurent Aimar
399f7e0e75
Fixed invalid writes in wavpack decoder on corrupted bitstreams.
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 0aedab0340 )
14 years ago
Laurent Aimar
90edd5df3d
Fixed invalid access in wavpack decoder on corrupted extra bits sub-blocks.
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit beefafda63 )
14 years ago
Chris Rankin
b2c9e9be87
mp3dec: Dont spam the user on multiple mp3 frames.
(cherry picked from commit 54e1eaef67 )
14 years ago
Michael Niedermayer
b6187e48db
cavsdec: avoid possible crash with crafted input
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 9f06c1c61e )
14 years ago
Michael Niedermayer
eb975b1c8b
mjpegdec; even better RSTn skiping
Fixes Ticket426
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit be7eed72c8 )
14 years ago
Michael Niedermayer
84648d33ba
jpegdec: better rst skiping
Fixes Ticket426
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 94c2478d90 )
14 years ago
Michael Niedermayer
4b8a0b058d
mpeg4: fix another packed divx issue.
Fixes getting_stuck.avi
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 6dbac85f8d )
14 years ago
Michael Niedermayer
1de90fd375
mpeg4: adjust dummy frame threashold for packed divx.
Fixes Ticket427
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 3e7e1f1509 )
14 years ago
Mans Rullgard
bd968d260a
cavs: fix some crashes with invalid bitstreams
This removes all valgrind-reported invalid writes with one
specific test file.
Fixes http://www.ocert.org/advisories/ocert-2011-002.html
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 4a71da0f3a )
14 years ago
Michael Niedermayer
00c5cf4beb
jpegdec: actually search for and parse RSTn
Fixes decoding of MJPEG files produced by some UVC Logitec web cameras,
such as "Notebook Pro" and "HD C910".
References:
http://trac.videolan.org/vlc/ticket/4215
http://ffmpeg.org/trac/ffmpeg/ticket/267
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Reviewed-by: Kostya <kostya.shishkov@gmail.com>
(cherry picked from commit 8c0fa61a97 )
14 years ago
Michael Niedermayer
91d5da9321
cavs: fix oCERT #2011-002 FFmpeg/libavcodec insufficient boundary check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Reimar Döffinger
a0352d01e9
Bink: clip AC coefficients during dequantization.
Fixes artefacts with Neverwinter Nights WOTCLogo.bik
(http://drmccoy.de/zeugs/WOTCLogo.bik ).
Fixes trac ticket #352 .
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
(cherry picked from commit 47b71eea09 )
14 years ago
Ronald S. Bultje
5e3578893a
mt: proper locking around release_buffer calls.
This fixes a crash when seeking in some webm files with many
threads (e.g. 8).
(cherry picked from commit 5eafc8b466 )
14 years ago
Ronald S. Bultje
dc1b670a2c
vp8/mt: flush worker thread, not application thread context, on seek.
This prevents a crash when seeking.
(cherry picked from commit d1cf459119 )
14 years ago
Diego Biurrun
683df9bf54
Add LGPL license boilerplate to files lacking it.
(cherry picked from commit e3759c567d )
14 years ago
Diego Biurrun
64e2656f7c
doxygen: Fix documentation for some VP8 functions.
(cherry picked from commit 3c432e1186 )
14 years ago
Christian Schmidt
8e3d264fb2
libxvid: add missing include of libavutil/mathematics.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 6c374bc0b4 )
14 years ago
Robert Swain
46a2dc9175
vorbis: vpxenc: Add missing include for av_rescale*
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 954a653216 )
14 years ago
Carl Eugen Hoyos
b9e126fbe2
ffmpeg: Fix VDPAU decoding for some H264 samples.
(cherry picked from commit a4ab70f92e )
14 years ago
Reinhard Tartler
f95e5225fe
doxygen: Drop array size declarations from Doxygen parameter names.
Adding [] to a Doxygen parameter name clashes with Doxygen syntax.
(cherry picked from commit ff993cd7fc )
14 years ago
Diego Biurrun
8f536408d1
doxygen: Remove spurious documentation for non-existing function parameters.
(cherry picked from commit 01c17c88ed )
14 years ago
Stefano Sabatini
d734d4ce6a
suggest to use av_get_bytes_per_sample() in av_get_bits_per_sample_format() doxy
The previously suggested replacement - av_get_bits_per_sample_fmt() -
was also deprecated.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit ccfa626db8 )
14 years ago