Michael Niedermayer
5773d46009
factorize switch_buffer()
...
Originally committed as revision 7813 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
e0cf92048a
fix decoding of takethat.mp3
...
Originally committed as revision 7812 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
2f5560ee49
fix playback of mp3_bits_left.avi
...
Originally committed as revision 7279 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
8da9266cea
use the standard INT64_C() macro for 64-bit constants
...
Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
8e5606bfcd
detect a few more errors (fixes libmp3-bug.avi again)
...
make pickyness of the decoder user selectable through error_resilience param like for video decoders
Originally committed as revision 7089 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
ee50a7c1e5
making decoding more error robust
...
Originally committed as revision 7073 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
9bb328d397
reset internal buffer during seeking
...
Originally committed as revision 7070 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
bd60e11bf4
more checks and error messages
...
Originally committed as revision 7069 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
498c544ad2
dont set the sampling rate just because 1 mp3 packet header says so (fixes playback speed on some old mencoder generated avis which where then dumped to mp3)
...
Originally committed as revision 6837 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
c0d8052b50
avoid random noise on damaged frames
...
Originally committed as revision 6836 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 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
18 years ago
Diego Biurrun
e1931c59f6
message typo fixes
...
Originally committed as revision 6564 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
62bb489b13
add some #ifdef CONFIG_ENCODERS/DECODERS
...
Originally committed as revision 6356 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Måns Rullgård
191e8ca752
fix some signedness warnings
...
Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Luca Barbato
004390a639
Use mathops
...
Originally committed as revision 6323 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
39e1b5cf8e
use correct rounding functions
...
this should fix a floating point exception on some systems
lets hope these arent missing anywhere, if so another solution must be found
Originally committed as revision 6290 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Baptiste Coudurier
8e453fc3c7
remove unused, uninitialized free format frame size
...
Originally committed as revision 6256 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Siarhei Siamashka
1839e854e5
Proper armv5te instructions support detection.
...
patch by Siarhei Siamashka, siarhei dot siamashka gmail com
Originally committed as revision 6246 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Siarhei Siamashka
024da4b146
armv5 optimizations
...
patch by Siarhei Siamashka siarhei.siamashka at gmail com
Originally committed as revision 6228 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
7b95bc5842
print more correct error messges
...
Originally committed as revision 6194 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Måns Rullgård
0e176c3eb5
remove redundant declarations
...
Originally committed as revision 6153 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
1b4f17fafa
fix buffer handling
...
Originally committed as revision 6116 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
ee3bc9d386
overread AV_LOG_ERROR -> AV_LOG_DEBUG
...
Originally committed as revision 6111 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
c0c66dd81d
fix low bitrate mp3
...
Originally committed as revision 6107 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
39b434c6ae
check the validity of the amount of the remaining bytes in the bitsteam before memcpy
...
Originally committed as revision 6105 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
716d73b47d
unused var
...
Originally committed as revision 6104 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
d6bea62338
make mpa_decode_header() 10 times faster
...
Originally committed as revision 6101 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
731d0b1aaa
another silly typo which surprisingly neither valgrind nor cmp of the file output cought
...
Originally committed as revision 6100 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
d37bb9d8c1
10l found by valgrind
...
Originally committed as revision 6099 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
06e7fb82a4
remove duplicated parser, people who pass random gibblets of the bitstream into the decoder will have to pass it through a AVParser like for all other codecs too
...
remove silly internal buffering architecture (removes 1 memcpy() of the bitstream)
mp3on4 and mp3adu untested
Originally committed as revision 6098 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
9bffa9e7af
avoid branch
...
Originally committed as revision 6088 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
14168ddb28
move variable declarations so that their scope is smaller
...
Originally committed as revision 6087 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
bc2d2757bb
move the +400 out of the innermost loop
...
Originally committed as revision 6086 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
9b49f89cdf
avoid reading exponent twice
...
Originally committed as revision 6085 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
1f1d675b68
reduce size of vlc table, thats slightly faster here
...
Originally committed as revision 6084 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
55017f35da
try to avoid l3_unscale() by using a table
...
Originally committed as revision 6083 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
f8347c4167
replace l3_unscale(1, exponents[pos]) by LUT
...
Originally committed as revision 6082 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
7ca1ed0d9c
maybe fixing the segfault on ARM
...
Originally committed as revision 6081 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
92c5cb62b0
10l typo
...
Originally committed as revision 6074 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
e90a72701e
avoid a few if(x==0) checks in the inner loops
...
Originally committed as revision 6073 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
6430ce0f72
optimize reorder_block() though this function seems to be executed too rarely for this to make much difference
...
Originally committed as revision 6068 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
a753e55bb5
simplify
...
Originally committed as revision 6067 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
a08a502eda
dont copy the whole GetBitContext around
...
Originally committed as revision 6062 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
3328ec6331
faster handling of zero coeffs in the low freq decode
...
Originally committed as revision 6061 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
3c693e7743
optimizing high freq decode
...
Originally committed as revision 6060 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
daf4cd9ac3
use memset() instead of slow c loops
...
Originally committed as revision 6059 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
c7aa36964e
simplify
...
Originally committed as revision 6058 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Aurelien Jacobs
acba32385b
fix arm asm compilation in mpegaudiodec
...
Originally committed as revision 6057 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
69fd15f871
MUL* for ARM code based on a patch by Siarhei Siamashka
...
untested
Originally committed as revision 6050 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
f617adedc8
replace MULL with asm too, no significnat speedup but its probably better to not take any chances, some versions of gcc will almost certainly mess it up too if they can
...
Originally committed as revision 6049 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago