Vorbis specs requires blocksize_1 >= blocksize_0, error if it's false.
authorUoti Urpala <uoti.urpala@pp1.inet.fi>
Sun, 23 Apr 2006 21:11:31 +0000 (21:11 +0000)
committerRoberto Togni <r_togni@tiscali.it>
Sun, 23 Apr 2006 21:11:31 +0000 (21:11 +0000)
commitf267587ecea7a98d398d0fb74e1e04668ddf26e3
tree2bbbadabdc29833279e9752ab06f34d383f0161f
parent9d4461b9f247a7942d98fda0c27496c6570514d5
Vorbis specs requires blocksize_1 >= blocksize_0, error if it's false.
Predict buffer size from blocksize_1 and number of channels and make
sure this does not exceed AVCODEC_MAX_AUDIO_FRAME_SIZE

Patch by Uoti Urpala >>> uoti |.| urpala |@| pp1 |.| inet |.| fi <<<

Originally committed as revision 5313 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vorbis.c