[FFmpeg-devel] [PATCH] libamr: Fix block sizes for WB decoding
Tue May 19 14:37:23 CEST 2009
The attached patch fixes the list of block sizes in the libamrwb decoder
wrapper. According to the svn comments, the original size list was taken
from the IF2 list (in libamrwb?) in rev 12277, even though the decoder
isn't used in IF2 mode.
The only mode that is changed is mode 1, bitrate 8.85 kbps. To reproduce
the problem, encode a file with that bitrate:
ffmpeg -i sample.wav -acodec libamr_wb -ar 16000 -ab 8850 test.amr
And try to decode it:
ffmpeg -i test.amr out.wav
Originally, this yields a lot of warnings like this:
Multiple frames in a packet from stream 0
Error while decoding stream #0.0
With this patch applied, decoding works fine.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 535 bytes
More information about the ffmpeg-devel