chinshou
ab2ea6415b
avisynth: Remove wrong pts calculation.
Fixes Ticket428
(cherry picked from commit 4f123a7d7c )
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
Panagiotis H.M. Issaris
1ec29b2da5
Fix documentation for "-debug" commandline argument
(cherry picked from commit 180e782942 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit bcef876f16 )
14 years ago
Diego Biurrun
5cc5152e80
Employ FF_ARRAY_ELEMS instead of manually calculating array length.
(cherry picked from commit 6376362d15 )
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
Asad Mehmood
64556c200e
flvdec: Remove AVFMTCTX_NOHEADER if both flags and metadata claim 1 stream
If there is only 1 stream in an flv avformat_find_stream_info will continually
read until probesize is reached. This should stop it reading if the metadata
also claims there to be 1 stream.
(cherry picked from commit bcc531f04a )
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
Stefan Fritsch
77dafced71
http: Fix decetion of range support in HTTP servers
currently libavformat only allows seeking if a request with "Range:
0-" results in a 206 reply from the HTTP server which includes a
Content-Range header. But according to RFC 2616, the server may also
reply with a normal 200 reply (which is more efficient for a request
for the whole file). In fact Apache HTTPD 2.2.20 has changed the
behaviour in this way and it looks like this change will be kept in
future versions. The fix for libavformat is easy: Also look at the
Accept-Ranges header.
(cherry picked from commit 31dfc49598 )
14 years ago
Reimar Döffinger
9c96b1efb1
Do not free BITMAPINFOHEADER before we are done using it.
Fixes trac ticket #396 .
Completely untested.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
(cherry picked from commit 177aec1257 )
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
Gavin Kinsey
e6df35b3be
Prevent double free of side_data when AVFMT_FLAG_KEEP_SIDE_DATA flag is set
(cherry picked from commit d64066f6e8 )
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
076a8dfd41
rtpdec_asf: fix memleak
Based on a suggestion by Ronald S. Bultje
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit a2b66a366d )
14 years ago
Michael Niedermayer
a9a8e5ca99
Update for 0.8.3
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
c2a2ad133e
rtp: Fix integer underflow that could allow remote code execution.
Fixes MSVR-11-0088
Credit: Jeong Wook Oh of Microsoft and Microsoft Vulnerability Research (MSVR)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ba9a7e0d71 )
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
8af11e51f2
vf_scale: apply the same transform to the aspect during init that is applied per frame
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit c8868f28e3 )
14 years ago
Michael Niedermayer
f597825052
Fix memory corruption in case of memory allocation failure in av_probe_input_buffer()
Reported-by: Tanami Ohad
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 941bb552c6 )
14 years ago
Jeff Downs
7d704f5127
Make all option parsing functions match the function pointer type through which they are called.
All option parsing functions now match the function pointer signature through
which they are called (int f(const char *, const char *), thereby working
reliably on all platforms.
Prefix all option processing functions with opt_
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
Michael Niedermayer
c8b37fd03d
Merge remote-tracking branch 'qatar/release/0.7' into release/0.8
* qatar/release/0.7:
configure: add missing CFLAGS to fix building on the HURD
Merged-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Pino Toscano
b37131f798
configure: add missing CFLAGS to fix building on the HURD
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit f60d136637 )
14 years ago
Michael Niedermayer
878a7d1573
Merge remote-tracking branch 'qatar/release/0.7' into release/0.8
* qatar/release/0.7:
cavs: fix some crashes with invalid bitstreams
jpegdec: actually search for and parse RSTn
Conflicts:
libavcodec/mjpegdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
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
Carl Eugen Hoyos
6a57021cf9
Fix compilation with --disable-avfilter.
(cherry picked from commit 67a8251690 )
14 years ago
Michael Niedermayer
f20f79307b
libavfilter: fix --enable-small
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 633aa01f72 )
14 years ago
Michael Niedermayer
d1bc77d86c
0.8.2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Carl Eugen Hoyos
08ddfb77a1
Fix possible crash when decoding mpeg streams.
This reverts 2cf8355f98681bdd726b739008acd5483f82f8d7,
fixes ticket 329.
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
Michael Niedermayer
2ff36ef521
ffmpeg: fix passlogfile regression
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago