ffmpeg.git
7 years agomotionpixels: Clip YUV values after applying a gradient.
Alex Converse [Wed, 2 May 2012 19:08:03 +0000 (12:08 -0700)]
motionpixels: Clip YUV values after applying a gradient.

Prevents illegal reads on truncated and malformed input.

CC: libav-stable@libav.org
(cherry picked from commit b5da848facd41169283d7bfe568b83bdfa7fc42e)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit aaa6a666774eb02c351c84e80622a5c69e9b642e)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 50073e2395522b6e2b8698ff0dd06ffaf8cbf8ce)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 2134e7f6e88959513ba1713ad6fd7a7c8d5a0f41)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agomjpegbdec: Fix overflow in SOS.
Alex Converse [Wed, 25 Jan 2012 21:39:24 +0000 (13:39 -0800)]
mjpegbdec: Fix overflow in SOS.

Based in part by a fix from Michael Niedermayer <michaelni@gmx.at>

Fixes CVE-2011-3947

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
(cherry picked from commit b57d262412204e54a7ef8fa1b23ff4dcede622e5)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 083a8a00373b12dc06b8ae4c49eec61fb5e55f4b)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 6ae95a0b93e8df15fe5f364535a7214be0817736)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 6ca010f20965ef71d97a53e871edae2eb9c05a5f)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agoatrac3: Fix crash in tonal component decoding.
Michael Niedermayer [Sat, 17 Dec 2011 02:18:58 +0000 (03:18 +0100)]
atrac3: Fix crash in tonal component decoding.

Add a check to avoid writing past the end of the channel_unit.components[]
array.

Bug Found by: cosminamironesei
Fixes CVE-2012-0853
CC: libav-stable@libav.org
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
(cherry picked from commit c509f4f74713b035a06f79cb4d00e708f5226bc5)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit f43b6e2b1ed47a1254a5d44c700a7fad5e9784be)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit f728ad26f0ec87650d2986a892785c0e2b97d161)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 224025d852dcc42f752c0922fef7121808d1e42f)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agodv: Fix small stack overread related to CVE-2011-3929 and CVE-2011-3936.
Alex Converse [Thu, 26 Jan 2012 23:08:26 +0000 (15:08 -0800)]
dv: Fix small stack overread related to CVE-2011-3929 and CVE-2011-3936.

Found with asan.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Alex Converse <alex.converse@gmail.com>
(cherry picked from commit 2d1c0dea5f6b91bec7f5fa53ec050913d851e366)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 00fa6ffe1a0b252d6a81815e51f125225cd0b97a)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit a8f4db0acd9b588ba33e3b8c0c21feea5916cfd1)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agodv: Fix null pointer dereference due to ach=0
Michael Niedermayer [Tue, 24 Jan 2012 16:51:40 +0000 (17:51 +0100)]
dv: Fix null pointer dereference due to ach=0

dv: Fix null pointer dereference due to ach=0

Fixes part2 of CVE-2011-3929

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Reviewed-by: Roman Shaposhnik <roman@shaposhnik.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Alex Converse <alex.converse@gmail.com>
(cherry picked from commit 5a396bb3a66a61a68b80f2369d0249729bf85e04)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 44e182d41e3a73548f3f5e8445ec428d3846e6d6)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit b46141b0d1d7efb74dad172b7c1b52413441592f)

Conflicts:

libavformat/dv.c

7 years agodv: check stype
Michael Niedermayer [Tue, 24 Jan 2012 16:48:23 +0000 (17:48 +0100)]
dv: check stype

dv: check stype

Fixes part1 of CVE-2011-3929
Possibly fixes part of CVE-2011-3936

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Reviewed-by: Roman Shaposhnik <roman@shaposhnik.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Alex Converse <alex.converse@gmail.com>
(cherry picked from commit 635bcfccd439480003b74a665b5aa7c872c1ad6b)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit bb737d381f6d6413899a0697f426fb082eac66fc)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 38421f27b3899a930552750fe1e0dffd45b71b8e)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agonsvdec: Propagate errors
Alex Converse [Fri, 27 Jan 2012 01:23:09 +0000 (17:23 -0800)]
nsvdec: Propagate errors

Related to CVE-2011-3940.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
(cherry picked from commit c898431ca5ef2a997fe9388b650f658fb60783e5)

Conflicts:

libavformat/nsvdec.c

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 0100c4b1b0736e0f5b3c98f9b0ab8acbef574888)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 3253dd2b420583a7f10afa87e47b9cb73e950e2a)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agonsvdec: Be more careful with av_malloc().
Alex Converse [Fri, 27 Jan 2012 01:21:46 +0000 (17:21 -0800)]
nsvdec: Be more careful with av_malloc().

Check results for av_malloc() and fix an overflow in one call.

Related to CVE-2011-3940.

Based in part on work from Michael Niedermayer.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
(cherry picked from commit 8fd8a48263ff1437f9d02d7e78dc63efb9b5ed3a)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit be524c186b50337db64d34a5726dfe3e8ea94f09)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 87007519c81c37d8a3de424de3db14078ae84333)

Conflicts:

libavformat/nsvdec.c

7 years agonsvdec: Fix use of uninitialized streams.
Michael Niedermayer [Tue, 24 Jan 2012 21:20:26 +0000 (22:20 +0100)]
nsvdec: Fix use of uninitialized streams.

Fixes CVE-2011-3940 (Out of bounds read resulting in out of bounds write)

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 5c011706bc752d34bc6ada31d7df2ca0c9af7c6b)

Signed-off-by: Alex Converse <alex.converse@gmail.com>
(cherry picked from commit 6a89b41d9780325ba6d89a37f2aeb925aa68e6a3)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 65beb8c1173906b0541442713cb29e8ba44c47ef)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 1edf848a81464afd514afbbbcb97b471d334e14a)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agoid3v2: fix skipping extended header in id3v2.4
Anton Khirnov [Sat, 31 Mar 2012 05:52:42 +0000 (07:52 +0200)]
id3v2: fix skipping extended header in id3v2.4

In v2.4, the length includes the length field itself.
(cherry picked from commit ddb4431208745ea270dce8fce4cba999f0ed4303)

Conflicts:

libavformat/id3v2.c

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agoRelease notes and changelog for 0.5.7
Reinhard Tartler [Tue, 10 Jan 2012 21:22:05 +0000 (22:22 +0100)]
Release notes and changelog for 0.5.7

7 years agoBump version number for 0.5.7 release.
Reinhard Tartler [Tue, 10 Jan 2012 20:23:27 +0000 (21:23 +0100)]
Bump version number for 0.5.7 release.

7 years agovorbis: An additional defense in the Vorbis codec.
Chris Evans [Thu, 5 Jan 2012 20:25:41 +0000 (21:25 +0100)]
vorbis: An additional defense in the Vorbis codec.

Fixes Bug: #190
Chromium Bug: #100543
Related to CVE-2011-3893

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit afb2aa537954db537d54358997b68f46561fd5a7)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit b0283ccb9e8945ce9e56f7c6ba0c676e7179d7a3)

Conflicts:

libavcodec/vorbis_dec.c
(cherry picked from commit a5e0afe3c936220a793db0cdae04bb228f1904e0)

Conflicts:

libavcodec/vorbis_dec.c

7 years agovorbisdec: Fix decoding bug with channel handling
Reinhard Tartler [Thu, 5 Jan 2012 20:40:18 +0000 (21:40 +0100)]
vorbisdec: Fix decoding bug with channel handling

Fixes Bug: #191
Chromium Bug: #101458
CVE-2011-3895

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit e6d527ff729e42d80e4756cab779ff4ad693631b)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 97f23c72a3815739ab28e297ce60f943349f6939)

Conflicts:

libavcodec/vorbis_dec.c
(cherry picked from commit 42f0a6696889ba275aa2087b57fa99f7a97033a0)

Conflicts:

libavcodec/vorbis_dec.c

7 years agomatroskadec: Fix a bug where a pointer was cached to an array that might later move...
Chris Evans [Thu, 5 Jan 2012 20:19:30 +0000 (21:19 +0100)]
matroskadec: Fix a bug where a pointer was cached to an array that might later move due to a realloc()

Fixes bug #190
Chromium bug #100492
related to CVE-2011-3893

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry-picked from commit faaec4676cb4c7a2303d50df66c6290bc96a7657)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 1f625431e2bb9564760fba3ab8077ae07ce7c7a1)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 90a4a467477be8c292daa08a9516ee78ca0d517b)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agovorbis: Avoid some out-of-bounds reads
Chris Evans [Thu, 5 Jan 2012 20:25:41 +0000 (21:25 +0100)]
vorbis: Avoid some out-of-bounds reads

Fixes Bug: #190
Chromium Bug: #100543
Related to CVE-2011-3893

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 57cd6d709565e84e84385f8f2a9641ca3fa718be)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 4a94678f1be4b7d47f862e9523ca3358255da5d4)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 6d6254ba9fbb22260939c06db1faed5bbd295ad4)

Conflicts:

libavcodec/vorbis.c

7 years agovp3: fix oob read for negative tokens and memleaks on error.
Ronald S. Bultje [Sat, 29 Oct 2011 06:50:04 +0000 (23:50 -0700)]
vp3: fix oob read for negative tokens and memleaks on error.

(cherry picked from commit 8370e426e42f2e4b9d14a1fb8107ecfe5163ce7f)

Fixes: #189
Chromium-Bug: 101172,100465
CVE-2011-3892

Removed the parts that are related to multi-threading, which is not
included before 0.7.

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit c624935554332f8921a15265b8720f0c7b3c8cc2)

Conflicts:

libavcodec/vp3.c
(cherry picked from commit c9c7db0af2a0fc14764a07f0e61cebf11238e3c2)

Conflicts:

libavcodec/vp3.c

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agoRelease notes and changelog for 0.5.6
Reinhard Tartler [Sun, 25 Dec 2011 08:55:45 +0000 (09:55 +0100)]
Release notes and changelog for 0.5.6

7 years agoBump version number for 0.5.6 release.
Reinhard Tartler [Sat, 24 Dec 2011 15:32:06 +0000 (16:32 +0100)]
Bump version number for 0.5.6 release.

7 years agosvq1dec: call avcodec_set_dimensions() after dimensions changed.
Michael Niedermayer [Fri, 18 Nov 2011 18:10:21 +0000 (19:10 +0100)]
svq1dec: call avcodec_set_dimensions() after dimensions changed.

Fixes NGS00148, CVE-2011-4579

Found-by: Phillip Langlois
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 6e24b9488e67849a28e64a8056e05f83cf439229)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 0eca0da06e40b73af495cc05fbcfaa030fcf78ea)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 8ddc0b491d3c9c11c1e3d638fda51b4b604d32f4)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agovmd: fix segfaults on corruped streams
Laurent Aimar [Sun, 11 Sep 2011 17:17:45 +0000 (19:17 +0200)]
vmd: fix segfaults on corruped streams

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 494cfacdb9ba3f0549e37f76b3a2f86a7aeeac3c)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit b99366faef3a1ed4a34c9b37107f2c8c24702813)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agovp6: partially propagate huffman tree building errors during coeff model parsing...
Dustin Brody [Tue, 16 Aug 2011 20:46:34 +0000 (16:46 -0400)]
vp6: partially propagate huffman tree building errors during coeff model parsing and fix misspelling

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit f913eeea43078b3b9052efd8d8d29e7b29b39208)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 7367cbec1b8cf0cbb49707fb0fdfded8ec397b0d)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 201fcfb89482c6f73d6b679a294aac8da9612bbd)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agoPlug some memory leaks in the VP6 decoder
Vitor Sessak [Wed, 3 Mar 2010 17:24:32 +0000 (17:24 +0000)]
Plug some memory leaks in the VP6 decoder

Originally committed as revision 22172 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit 0a41faa9a77dc83d8d933e99f1ba902ecd146e79)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agovp6: Reset the internal state when aborting key frames header parsing
Laurent Aimar [Fri, 23 Sep 2011 20:36:11 +0000 (22:36 +0200)]
vp6: Reset the internal state when aborting key frames header parsing

It prevents leaving the state only half initialized.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
(cherry picked from commit a72cad0a6c05aa74940101e937cb3dc602d7d67b)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit c76505e0dee0890e39636ddebd2707ab3ea5b8de)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit e28bb18fdc894dfdc1befa9f5e748ccb649a8c76)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agovp6: Fix illegal read.
Thierry Foucu [Thu, 17 Nov 2011 17:39:52 +0000 (09:39 -0800)]
vp6: Fix illegal read.

Found with Address Sanitizer

Signed-off-by: Alex Converse <alex.converse@gmail.com>
(cherry picked from commit e0966eb140b3569b3d6b5b5008961944ef229c06)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit ba4b08b78918f399f9c9524750b26e904d146078)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 94aacaf5083313378c6105bd71db04ce8f62c058)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agovp6: Fix illegal read.
Alex Converse [Thu, 3 Nov 2011 22:55:52 +0000 (15:55 -0700)]
vp6: Fix illegal read.

(cherry picked from commit 2a6eb06254df79e96b3d791b6b89b2534ced3119)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 67a7ed623b678a84c992dd7bf3e3d0329f83621b)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 8d68083298e2481669de4db0b7b86c915119df6d)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agoFix out of bound reads in the QDM2 decoder.
Laurent Aimar [Fri, 30 Sep 2011 22:45:04 +0000 (00:45 +0200)]
Fix out of bound reads in the QDM2 decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
(cherry picked from commit 5a19acb17ceb71657b0eec51dac651953520e5c8)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 0d93d5c4614fafea74bdac681673f5b32eb49063)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agoCheck for out of bound writes in the QDM2 decoder.
Laurent Aimar [Fri, 30 Sep 2011 22:45:05 +0000 (00:45 +0200)]
Check for out of bound writes in the QDM2 decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
(cherry picked from commit 291d74a46d32183653db07818c7b3407fd50a288)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit a31ccacb1a9b2abc0e140a812fb0ffca6f7c2591)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agoqdm2: check output buffer size before decoding
Justin Ruggles [Wed, 14 Sep 2011 17:57:04 +0000 (13:57 -0400)]
qdm2: check output buffer size before decoding

(cherry picked from commit 7d49f79f1cd47783a963a757a6563b9cac29db62)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 73472053516f82b7d273a3d42c583f894077a191)

Conflicts:

libavcodec/qdm2.c
(cherry picked from commit cfb9b47a1ecdc9e88e6561aa213d98245ee70267)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agoFix qdm2 decoder packet handling to match the api
Baptiste Coudurier [Fri, 19 Nov 2010 06:52:30 +0000 (06:52 +0000)]
Fix qdm2 decoder packet handling to match the api

Originally committed as revision 25767 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit b26c1a8b7ed1a199b19f92bb5d62c61f1c149215)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agoupdate version
Reinhard Tartler [Sat, 5 Nov 2011 11:57:22 +0000 (12:57 +0100)]
update version

7 years agoRelease notes and changelog for 0.5.5
Reinhard Tartler [Sat, 5 Nov 2011 11:53:16 +0000 (12:53 +0100)]
Release notes and changelog for 0.5.5

7 years agoFix ff_imdct_calc_sse() on gcc-4.6
Alex Converse [Sun, 30 Jan 2011 09:04:41 +0000 (01:04 -0800)]
Fix ff_imdct_calc_sse() on gcc-4.6

Gcc 4.6 only preserves the first value when using an array with an "m"
constraint.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 770c410fbb8e1b87ce8ad7f3d7eddaa55e2b8295)

Conflicts:

libavcodec/x86/fft_sse.c

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agoMake DECLARE_ALIGNED macros work with external array specifiers
Måns Rullgård [Thu, 21 Jan 2010 12:59:22 +0000 (12:59 +0000)]
Make DECLARE_ALIGNED macros work with external array specifiers

The macro implementation might need the name of the variable being
declared for compiler-specific syntax.  Moving array specifiers outside
the macro invocation allows this to work.

Originally committed as revision 21363 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit 8a24e98d506f0f44ec58e06291fa0fce703fb6a8)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agoFix MMX rgb24 to yuv conversion with gcc 4.6
Mans Rullgard [Sun, 13 Feb 2011 00:19:06 +0000 (00:19 +0000)]
Fix MMX rgb24 to yuv conversion with gcc 4.6

When built with gcc 4.6, the MMX rgb24 to yuv conversion gives
wrong output.  The compiler produces this warning:

libswscale/swscale_template.c:1885:5: warning: use of memory input without lvalue in asm operand 4 is deprecated

Changing the memory operand to a register makes it work.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit f344903ca5ce28a833fdd656bc1ed5b16d97e7e9)

Conflicts:

libswscale/swscale_template.c

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agoFix memory (re)allocation in matroskadec.c, related to MSVR-11-0080.
Michael Niedermayer [Thu, 28 Jul 2011 12:59:54 +0000 (14:59 +0200)]
Fix memory (re)allocation in matroskadec.c, related to MSVR-11-0080.

Whitespace of the patch cleaned up by Aurel
Some of the issues have been reported by Steve Manzuik / Microsoft Vulnerability Research (MSVR)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 956c901c68eff78288f40e3c8f41ee2fa081d4a8)

Further suggestions from Kostya <kostya.shishkov@gmail.com> have been
implemented by Reinhard Tartler <siretart@tauware.de>

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 77d2ef13a8fa630e5081f14bde3fd20f84c90aec)

NB: MSVR-11-0080 doesn't seem to exist. This issue seems to be known
as MSVR11-011 instead.

Fixes: CVE-2011-3504

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agocavs: fix some crashes with invalid bitstreams
Mans Rullgard [Wed, 10 Aug 2011 17:52:11 +0000 (18:52 +0100)]
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 4a71da0f3ab7f5542decd11c81994f849d5b2c78)

Fixes CVE-2011-3362, CVE-2011-3973, CVE-2011-3974

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 years agomjpeg: Detect overreads in mjpeg_decode_scan() and error out.
Michael Niedermayer [Thu, 21 Apr 2011 20:03:24 +0000 (22:03 +0200)]
mjpeg: Detect overreads in mjpeg_decode_scan() and error out.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Ronald S. Bultje <rbultje@google.com>
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 years agoupdate release date
Reinhard Tartler [Thu, 17 Mar 2011 12:10:27 +0000 (13:10 +0100)]
update release date

8 years agodocument APE patch
Reinhard Tartler [Thu, 17 Mar 2011 12:09:40 +0000 (13:09 +0100)]
document APE patch

8 years agoDo not attempt to decode APE file with no frames
Kostya [Tue, 15 Mar 2011 09:19:43 +0000 (09:19 +0000)]
Do not attempt to decode APE file with no frames

This fixes invalid reads/writes with this sample:
http://packetstorm.linuxsecurity.com/1103-exploits/vlc105-dos.txt
(cherry picked from commit 8312e3fc9041027a33c8bc667bb99740fdf41dd5)

8 years agoFix a bunch of typos in the release documentation.
Diego Biurrun [Sun, 6 Mar 2011 10:02:36 +0000 (11:02 +0100)]
Fix a bunch of typos in the release documentation.

8 years agoBump version number for 0.5.4 release.
Reinhard Tartler [Sun, 20 Feb 2011 21:12:52 +0000 (22:12 +0100)]
Bump version number for 0.5.4 release.

8 years agorelease notes for 0.5.4
Reinhard Tartler [Fri, 18 Feb 2011 16:06:06 +0000 (17:06 +0100)]
release notes for 0.5.4

8 years agoAmend Changelog for 0.5.4
Reinhard Tartler [Fri, 18 Feb 2011 16:06:06 +0000 (17:06 +0100)]
Amend Changelog for 0.5.4

8 years agoCall avcodec_set_dimensions() instead of simply setting avctx->width/height
Kostya Shishkov [Tue, 24 Nov 2009 06:05:41 +0000 (06:05 +0000)]
Call avcodec_set_dimensions() instead of simply setting avctx->width/height
when frame dimensions change in RV3/4.

Originally committed as revision 20595 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit d90aeeaf569e4a08c30b3d1d09c3cff3a86eb431)

8 years agoFix invalid reads in VC1 decoder
Reimar Döffinger [Sat, 19 Feb 2011 10:33:01 +0000 (11:33 +0100)]
Fix invalid reads in VC1 decoder

Patch discussed and taken from https://roundup.ffmpeg.org/issue2584
(cherry picked from commit 2bbec1eda46d907605772a8b6e8263caa4bc4c82)

Change related to CVE-2011-0723

8 years agoMake get_bits_left() available for use in libavcodec (was previously held
Ronald S. Bultje [Mon, 9 Nov 2009 22:10:43 +0000 (22:10 +0000)]
Make get_bits_left() available for use in libavcodec (was previously held
private in dv.c for some reason). See "[PATCH] get_bits_left()" thread.

Originally committed as revision 20490 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit c47ca25e74bbe465cdc8b99d4f6ab4f0ad5e4229)

8 years agoUpdate Changelog for 0.5.4 release.
Reinhard Tartler [Sun, 13 Feb 2011 22:34:41 +0000 (23:34 +0100)]
Update Changelog for 0.5.4 release.

8 years agoCheck rangebits to avoid a possible crash.
Frank Barchard [Sun, 13 Feb 2011 20:38:45 +0000 (21:38 +0100)]
Check rangebits to avoid a possible crash.
Fixes issue 2548 (and Chrome issue 68115 and unknown CERT issues).

Originally committed as revision 26365 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit 13184036a6b1b1d4b61c91118c0896e9ad4634c3)

Addresses: CVE-2011-0480

Conflicts:

libavcodec/vorbis_dec.c

8 years agoFix crashes in vorbis decoding found by zzuf
Jason Garrett-Glaser [Sun, 13 Feb 2011 19:41:13 +0000 (20:41 +0100)]
Fix crashes in vorbis decoding found by zzuf
Fixes issue 2322.

Originally committed as revision 25591 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit 3dde66752d59dfdd0f3727efd66e7202b3c75078)

Addresses: CVE-2010-4704

8 years agoalso ignore *.so for vhook plugins
Reinhard Tartler [Thu, 10 Feb 2011 13:09:35 +0000 (14:09 +0100)]
also ignore *.so for vhook plugins

8 years agoconsolidate .gitignore patters into a single file
Janne Grunau [Tue, 18 Jan 2011 19:44:24 +0000 (20:44 +0100)]
consolidate .gitignore patters into a single file

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 2c3589bfda036c7827ded0bf38b16dfe7630bae1)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 years agoconvert svn:ignore properties to .gitignore files
Janne Grunau [Mon, 17 Jan 2011 14:49:11 +0000 (15:49 +0100)]
convert svn:ignore properties to .gitignore files

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 348b8218f7a59374355c966dbe3b851a7275f952)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 years agoUpdate dimensions in AVCodecContext when RV3/4 frame dimensions change
Kostya Shishkov [Sun, 22 Nov 2009 07:48:35 +0000 (07:48 +0000)]
Update dimensions in AVCodecContext when RV3/4 frame dimensions change

Originally committed as revision 20572 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit ec10d2d53999f6edf7d7b5ac88df263eccfb1fb0)

Fixes heap corruption crashes

Addresses: CVE-2011-0722
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 years agoUpdate safety check as the maximum pixel size is no longer 4.
Michael Niedermayer [Wed, 22 Apr 2009 01:54:05 +0000 (01:54 +0000)]
Update safety check as the maximum pixel size is no longer 4.
New max size is 16bit * 4 samples (RGBA).

Originally committed as revision 18655 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit 445f0a8b666a34e6402f6ae96c6804c8bc024baa)

Addresses: CVE-2010-3908
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
9 years agorelease notes for 0.5.3 v0.5.3
Reinhard Tartler [Mon, 18 Oct 2010 19:43:55 +0000 (19:43 +0000)]
release notes for 0.5.3

Originally committed as revision 25523 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoBump version number for 0.5.3 release.
Diego Biurrun [Mon, 18 Oct 2010 19:40:09 +0000 (19:40 +0000)]
Bump version number for 0.5.3 release.

Originally committed as revision 25522 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoUpdate Changelog for 0.5.3 release.
Diego Biurrun [Mon, 18 Oct 2010 19:38:02 +0000 (19:38 +0000)]
Update Changelog for 0.5.3 release.

Originally committed as revision 25521 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoFix several security issues in flicvideo.c
Reinhard Tartler [Sun, 3 Oct 2010 14:51:50 +0000 (14:51 +0000)]
Fix several security issues in flicvideo.c
This fixes CVE-2010-3429

backport r25223 by michael

Originally committed as revision 25325 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agounbreak compilation and finish backport r24280 by mstorsjo
Reinhard Tartler [Sun, 3 Oct 2010 14:50:04 +0000 (14:50 +0000)]
unbreak compilation and finish backport r24280 by mstorsjo

Originally committed as revision 25324 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoaviobuf: Do short seeks forward by reading and skipping data instead of a proper...
Reinhard Tartler [Thu, 22 Jul 2010 11:58:26 +0000 (11:58 +0000)]
aviobuf: Do short seeks forward by reading and skipping data instead of a proper seek

This improves performance on e.g. seekable http.

backport r24280 by mstorsjo

Originally committed as revision 24428 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoconfigure: improve temp file creation and cleanup
Reinhard Tartler [Mon, 31 May 2010 13:06:51 +0000 (13:06 +0000)]
configure: improve temp file creation and cleanup

backport r17752 by mru

Originally committed as revision 23393 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agorelease notes for 0.5.2 v0.5.2
Diego Biurrun [Mon, 24 May 2010 21:58:47 +0000 (21:58 +0000)]
release notes for 0.5.2

Originally committed as revision 23300 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoBump version number for 0.5.2 release.
Diego Biurrun [Mon, 24 May 2010 21:55:01 +0000 (21:55 +0000)]
Bump version number for 0.5.2 release.

Originally committed as revision 23299 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoUpdate Changelog for 0.5.2 release.
Diego Biurrun [Mon, 24 May 2010 21:41:51 +0000 (21:41 +0000)]
Update Changelog for 0.5.2 release.

Originally committed as revision 23298 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoCheck validity of channels & samplerate.
Reinhard Tartler [Wed, 24 Mar 2010 19:35:30 +0000 (19:35 +0000)]
Check validity of channels & samplerate.
This may be security relevant.
Based on 2 patches by chrome.

backport r19975 by michael

Originally committed as revision 22658 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agofix compilation issue on powerpc
Reinhard Tartler [Fri, 12 Mar 2010 20:35:04 +0000 (20:35 +0000)]
fix compilation issue on powerpc

unlike the ARCH_ macros, COMPILE_ALTIVEC needs to be tested more carefully

Originally committed as revision 22488 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoFix compilation on powerpc with --disable-altivec
Reinhard Tartler [Wed, 10 Mar 2010 20:55:07 +0000 (20:55 +0000)]
Fix compilation on powerpc with --disable-altivec

in case altivec is disabled, even compilation of code using altivec
keywords or asm must be avoided.

backport r30869 from mplayer repo by siretart

Originally committed as revision 22436 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoMention LGPL libswscale in the Changelog.
Diego Biurrun [Sat, 6 Mar 2010 19:50:56 +0000 (19:50 +0000)]
Mention LGPL libswscale in the Changelog.

Originally committed as revision 22253 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agolibswscale is no longer GPL; update help comment accordingly.
Diego Biurrun [Sat, 6 Mar 2010 19:40:37 +0000 (19:40 +0000)]
libswscale is no longer GPL; update help comment accordingly.

Originally committed as revision 22250 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoAdd Hurd to OS list and disable dv1394 in the Hurd case.
Andres Mejia [Sat, 6 Mar 2010 16:57:43 +0000 (16:57 +0000)]
Add Hurd to OS list and disable dv1394 in the Hurd case.
patch by Andres Mejia, mcitadel gmail com

backport r18938 by diego

Originally committed as revision 22237 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoAdd point release date.
Diego Biurrun [Wed, 3 Mar 2010 08:25:10 +0000 (08:25 +0000)]
Add point release date.

Originally committed as revision 22163 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agofix 'seektest' again v0.5.1
Reinhard Tartler [Tue, 2 Mar 2010 16:03:06 +0000 (16:03 +0000)]
fix 'seektest' again

backport  r19270 by rbultje:

Remove any reference to ASFContext.packet_size and replace it with
AVFormatContext.packet_size. See "[PATCH] asf*.c/h: use
AVFormatContext->packet_size instead of own copy" thread on ML.

and r19361 by reimar:

Check for packet_length 0, it is already treated as invalid by the padding check,
but that resulted in a confusing/wrong error message.

Originally committed as revision 22147 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoBump version to 0.5.1.
Diego Biurrun [Tue, 2 Mar 2010 14:43:01 +0000 (14:43 +0000)]
Bump version to 0.5.1.

Originally committed as revision 22146 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoMention licensing-related changes; some whitespace adjustments.
Diego Biurrun [Tue, 2 Mar 2010 14:25:48 +0000 (14:25 +0000)]
Mention licensing-related changes; some whitespace adjustments.

Originally committed as revision 22145 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoIf we are using partial release names we might as well try to be funny.
Diego Biurrun [Mon, 1 Mar 2010 18:03:53 +0000 (18:03 +0000)]
If we are using partial release names we might as well try to be funny.

Originally committed as revision 22134 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoAdd release managers, merged from trunk.
Diego Biurrun [Mon, 1 Mar 2010 17:58:50 +0000 (17:58 +0000)]
Add release managers, merged from trunk.

Originally committed as revision 22133 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoamend release notes for 0.5.1
Reinhard Tartler [Mon, 1 Mar 2010 16:22:27 +0000 (16:22 +0000)]
amend release notes for 0.5.1

Originally committed as revision 22129 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoMention security fixes in the changelog.
Diego Biurrun [Sun, 28 Feb 2010 22:22:22 +0000 (22:22 +0000)]
Mention security fixes in the changelog.

Originally committed as revision 22121 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoadd myself to gpg fingerprint list
Reinhard Tartler [Sat, 27 Feb 2010 10:16:45 +0000 (10:16 +0000)]
add myself to gpg fingerprint list

backport r22089 by siretart

Originally committed as revision 22090 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agobump LIBAVCODEC_VERSION_MICRO for addition of the lock manager API
Reinhard Tartler [Sat, 27 Feb 2010 10:01:45 +0000 (10:01 +0000)]
bump LIBAVCODEC_VERSION_MICRO for addition of the lock manager API

As discussed with Diego, we'll go for bumping micro in 0.5 and will
consider adding a RELEASEVERSION macro for trunk and 0.6 seperatly

Originally committed as revision 22087 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoAvoid divisions by 0 in the ASF demuxer if packet_size is not valid.
Reinhard Tartler [Fri, 26 Feb 2010 15:49:52 +0000 (15:49 +0000)]
Avoid divisions by 0 in the ASF demuxer if packet_size is not valid.

r19330 by reimar

Originally committed as revision 22080 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agofix the remaining ogv segfaults from issue 1240.
Reinhard Tartler [Fri, 26 Feb 2010 14:32:27 +0000 (14:32 +0000)]
fix the remaining ogv segfaults from issue 1240.

First commit:

Make decode_init fail if the huffman tables are invalid and thus init_vlc fails.
Otherwise this will crash during decoding because the vlc tables are NULL.
Partially fixes ogv/smclock.ogv.1.101.ogv from issue 1240.

backport r19355 by reimar

Second commit:

Add extra validation checks to ff_vorbis_len2vlc.
They should not be necessary, but it seems like a reasonable precaution.

r19374 by reimar

Originally committed as revision 22076 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoMake sure we dont read over the end.
Reinhard Tartler [Fri, 26 Feb 2010 10:56:46 +0000 (10:56 +0000)]
Make sure we dont read over the end.
Fixes issue1237.

backport r19322 by michael

Originally committed as revision 22074 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agobackport libx264.c from trunk
Reinhard Tartler [Wed, 24 Feb 2010 22:40:10 +0000 (22:40 +0000)]
backport libx264.c from trunk

now compiles with x264 API versions 65 up to 85

patch prepared by darkshikari

Originally committed as revision 22042 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agomisc. manpage updates, fixes LP: #501729, Debian: #570050
Reinhard Tartler [Tue, 16 Feb 2010 23:04:10 +0000 (23:04 +0000)]
misc. manpage updates, fixes LP: #501729, Debian: #570050

Update ffmpeg documentation regarding metadata setting. -title,
-author, -copyright, -track, -album, and -year options have been
dropped in favor of -metadata.
Add an explanation and complete the metadata usage example.

backported revisions r19285, r19287 and r19320 by stefano.

Originally committed as revision 21858 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agocosmetics: K&R coding style, prettyprinting
Reinhard Tartler [Mon, 15 Feb 2010 12:45:14 +0000 (12:45 +0000)]
cosmetics: K&R coding style, prettyprinting

backported r20083 by diego

This commit does not introduce functional changes.  It was applied in
order to faciliate reviewing the proposed libx264.c backport

Originally committed as revision 21832 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoFix crash in MLP decoder due to integer overflow.
Reinhard Tartler [Thu, 11 Feb 2010 21:03:30 +0000 (21:03 +0000)]
Fix crash in MLP decoder due to integer overflow.
Probably only DoS, init_get_bits sets buffer to NULL, thus causing a
NULL-dereference directly after.

backport r21426 by reimar

Originally committed as revision 21759 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoMake sure the block array is of the correct size.
Reinhard Tartler [Thu, 11 Feb 2010 20:57:49 +0000 (20:57 +0000)]
Make sure the block array is of the correct size.
This might have been exploitable.

backported r18393 by michael

Originally committed as revision 21758 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoFix crash when max_ref_frames was out of range.
Reinhard Tartler [Thu, 11 Feb 2010 16:22:59 +0000 (16:22 +0000)]
Fix crash when max_ref_frames was out of range.
This might have been exploitable.
Fixes first crash of issue840.

backport r18388 by michael

Originally committed as revision 21757 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoreverting objected hunks from previous commit
Reinhard Tartler [Thu, 11 Feb 2010 11:52:59 +0000 (11:52 +0000)]
reverting objected hunks from previous commit

as discussed with diego on irc, the spurious newline deletion and the
LIBAVCODEC_VERSION_MINOR bump are being reverted based on comments on
ffmpeg-cvslog by ramiro, uoti and michael.

See http://comments.gmane.org/gmane.comp.video.ffmpeg.cvs/28112 for the
full context.

Originally committed as revision 21755 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoAdd a lock manager API to libavcodec.
Reinhard Tartler [Tue, 9 Feb 2010 20:28:42 +0000 (20:28 +0000)]
Add a lock manager API to libavcodec.

Allows an application to register a callback that manages mutexes
on behalf of FFmpeg.
With this callback registered FFmpeg is fully thread safe.

backport r19025 by andoma

NB: This is a feature backport with little regression potential. It was
requested at FOSDEM 2010 by ben@geexbox.org for use by geexbox and the
enna mediacenter in the upcoming debian/squeeze and ubuntu/lucid
release.

Approved by DonDiego on #ffmpeg-devel

Originally committed as revision 21731 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoCheck submap indexes.
Google Chrome [Tue, 9 Feb 2010 19:59:11 +0000 (19:59 +0000)]
Check submap indexes.
10_vorbis_submap_indexes.patch by chrome.
I am applying this even though Reimar had some comments to improve it as it fixes
a serious security issue and I do not want to leave such things unfixed.

backport r20001 by michael

Originally committed as revision 21730 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoCheck begin/end/partition_size.
Google Chrome [Tue, 9 Feb 2010 19:54:42 +0000 (19:54 +0000)]
Check begin/end/partition_size.
23_vorbis_sane_partition.patch by chrome.
Also this should be better documented but i prefer not to leave potential
security issues open due to missing documentation.

r19996 by michael

Originally committed as revision 21729 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoCheck res_setup->books.
Google Chrome [Tue, 9 Feb 2010 19:52:27 +0000 (19:52 +0000)]
Check  res_setup->books.
15_more_residue_book_indexes.patch by chrome.

r19992 by michael

Originally committed as revision 21728 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoCheck masterbook index and subclass book index.
Google Chrome [Tue, 9 Feb 2010 19:50:47 +0000 (19:50 +0000)]
Check masterbook index and subclass book index.
14_floor_masterbook_index.patch by chrome

r19991 by michael

Originally committed as revision 21727 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoAdd checks for per-packet mode indexes and per-header mode mapping indexes.
Google Chrome [Tue, 9 Feb 2010 19:49:28 +0000 (19:49 +0000)]
Add checks for per-packet mode indexes and per-header mode mapping indexes.
12_vorbis_mode_indexes.patch by chrome
maybe exploitable

r19990 by michael

Originally committed as revision 21726 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoCheck classbook value.
Google Chrome [Tue, 9 Feb 2010 19:47:42 +0000 (19:47 +0000)]
Check classbook value.
11_vorbis_residue_book_index.patch by chrome.

r19989 by michael

Originally committed as revision 21725 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoFix book_idx check.
Google Chrome [Tue, 9 Feb 2010 19:46:22 +0000 (19:46 +0000)]
Fix book_idx check.
25_vorbis_floor0_index.patch by chrome.

backport r19984 by michael

Originally committed as revision 21724 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5