Ronald S. Bultje
ae6c57859c
qdm2: clip array indices returned by qdm2_get_vlc().
Prevents subsequent overreads when these numbers are used as indices
in arrays.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
(cherry picked from commit 64953f67f9 )
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Conflicts:
libavcodec/qdm2.c
14 years ago
Laurent Aimar
8abf1d882e
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 5a19acb17c )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 0d93d5c461 )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Laurent Aimar
1a53095406
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 291d74a46d )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit a31ccacb1a )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Justin Ruggles
60eebf5c12
qdm2: check output buffer size before decoding
(cherry picked from commit 7d49f79f1c )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 7347205351 )
Conflicts:
libavcodec/qdm2.c
(cherry picked from commit cfb9b47a1e )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Baptiste Coudurier
30ee6c1995
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 b26c1a8b7e )
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
15 years ago
Daniel Verkamp
5ef251e504
Add missing av_cold in static init/close functions.
Patch by Daniel Verkamp daniel at drv dot nu.
Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alex Converse
63cae55d62
Use the new RDFT code in the QDM2 decoder.
Originally committed as revision 16865 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
ad1eebe360
Use CONFIG_MPEGAUDIO_HP directly instead of USE_HIGHPRECISION indirection.
Originally committed as revision 16594 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
fd76c37fd9
Modify all codecs to report their supported input and output sample format(s).
Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benjamin Larsson
d11f9e1b15
Prevent the qdm2 code from overreading/overflowing. Fixes Coverity ID 112 run 2
Originally committed as revision 14309 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benjamin Larsson
f7dbf86d93
Fix for possible null pointer dereferencing, closes Coverity report 68 run 2.
Originally committed as revision 14305 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5bfe3b853a
minor simplification of qdm2_decode_fft_packets()
Originally committed as revision 14284 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefan Gehrer
cf2baeb338
mark read-only data as const
Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
f4433de9ef
consistency cosmetics: indices --> indexes
Originally committed as revision 13444 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefano Sabatini
162d4fc99d
Add long names to AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13009 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
5e53486545
typo fix: inited --> initialized
Originally committed as revision 11920 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
0942f55cdc
const
Originally committed as revision 11767 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
621d7fe936
Rename two structures, identifiers starting with _[A-Z] are reserved.
Originally committed as revision 11435 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
e5a389a1b7
license header consistency cosmetics
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
c6bcbb2cd3
Use DECLARE_ALIGNED to ease porting
Originally committed as revision 9031 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Alex Beregszaszi
fead30d444
rename BE/LE_8/16/32 to AV_RL/B_8/16/32
Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Benjamin Larsson
63d6a6b91e
Fixed a possible bug, checked against the assembly.
No sample that used the code has been found though.
Originally committed as revision 5448 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Roberto Togni
3bbe7f5d6b
10000l don't reuse outer loop index in inner loops
Originally committed as revision 5423 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
d00bff20b2
fix infinite loop
Originally committed as revision 5102 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Dieter
efce1a8fea
add static keyword to some functions
patch by Dieter <freebsd at sopwith solgatos com>
Originally committed as revision 4914 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Diego Biurrun
1c7a8c17ff
Fix a bunch of spelling/grammar mistakes in doxygen comments and output.
Originally committed as revision 4855 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Roberto Togni
a4893bafd8
Support for samples with fft_order = 7
Fail init for unknown fft order, to prevent an array overflow
Output sound high-pitched compared to binary. Sample here
http://a1862.g.akamai.net/7/1862/14448/v1/esa.download.akamai.com/13452/qt/ESA_VenusExpress_110K_Stream.mov
Originally committed as revision 4724 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Roberto Togni
db795a1c57
Remove duplicated fft init
Originally committed as revision 4723 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Steve L'Homme
065148e773
init_get_bits() requires size in bits, not bytes
Patch by Steve Lhomme ||| steve | lhomme >at< free | fr |||
Originally committed as revision 4653 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Roberto Togni
3135258e19
QDM2 compatible decoder
Originally committed as revision 4650 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago