Baptiste Coudurier
cd3289650a
fsize is 12 bits according to specs
...
Originally committed as revision 12984 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
5be25fc133
simplify using FFMIN3
...
Originally committed as revision 12983 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
a82dcdffb2
return error if buf_size is too small
...
Originally committed as revision 12981 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
dfcd6d91fe
values can fit uint8_t
...
Originally committed as revision 12980 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
183fceaafd
add const
...
Originally committed as revision 12979 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
6122b733e9
omg, fix compilation
...
Originally committed as revision 12509 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
d0ed455f19
correctly set avctx->frame_size for mp3on4 and mp3adu
...
Originally committed as revision 12508 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
5e53486545
typo fix: inited --> initialized
...
Originally committed as revision 11920 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7993df6527
consts
...
I have underestimated this a little, and these are just some ...
Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
9f7458b285
Factorize some code into functions, had this in my tree and will be
...
needed for mp3 encoding.
Originally committed as revision 11509 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Brian Brice
812f29ffb8
Clear synth_buf on flush(). Part of a patch by Brian Brice bbrice gmail com.
...
Originally committed as revision 11507 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Brian Brice
4a69055bad
Flush mp2 as well on seeking. Part of a patch by Brian Brice bbrice gmail com.
...
Originally committed as revision 11506 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Martin Lindhe
3240941b25
Move 2 defines from mpegaudiodec.c to mpegaudiodata.h to allow compilation
...
when DEBUG is defined.
Patch by Martin Lindhe: martin startwars org
Originally committed as revision 10955 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
aee481cebe
use av_clip_int16() where it makes sense
...
Originally committed as revision 10078 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
7ae7300ee3
use skip_bits where appropriate
...
Originally committed as revision 10004 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
5fc32c275e
use get_bits1(..) instead get_bits(.., 1)
...
Originally committed as revision 9999 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
c2d08dc0d7
move a couple of macros and structs to mpegaudio.h
...
Originally committed as revision 9343 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
2c124cb65c
Use AV_xx throughout libavcodec
...
Originally committed as revision 9169 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d5aa01cd30
make decoder decode the first frame properly if theres more than just one
...
frame input
Originally committed as revision 9144 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
08aa2c9bd2
remove dependency of mpeg audio encoder over mpeg audio decoder
...
Originally committed as revision 9082 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
ca6e50afc1
add a ff_ prefix to some mpegaudio funcs
...
Originally committed as revision 9081 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
4bd8e17c8d
loosen dependencies over mpegaudiodec
...
Originally committed as revision 9080 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
677fe2e226
add proper prefix to extern mpeg audio data tables
...
Originally committed as revision 9061 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
4991c0516d
move some common mpeg audio tables from mpegaudiodectab.h to mpegaudiodata.c
...
Originally committed as revision 9060 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
18 years ago
Diego Biurrun
5a6a6cc7dc
Fix multiple "‘inline/static’ is not at beginning of declaration" warnings.
...
Originally committed as revision 8894 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
fe0372296a
typos
...
Originally committed as revision 8642 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
9608652dc1
kill another 2 av_mallocz_static()
...
Originally committed as revision 8396 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
318c5e0524
Give context to dprintf
...
Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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