[FFmpeg-devel] avcodec_decode_audio2 doesn't handle all data with libamr_bn decoder
Wed Feb 20 12:19:50 CET 2008
some weeks ago i reported a similar problem with the liba52-wrapper. It
happens with libamr (nb) wrapper too.
Libavformat gives 1600 bytes for an audio frame, but
avcodec_decode_audio2 uses only 32 of it. Repeating the call 50 times
and giving each 32 byte of the 1600 gives all output data.
Either the frame size is 1600 and avcodec_decode_audio2 doesn't do the
looping itself, which would be wrong regarding the intended interface,
or libavformat gives wrong size of that amr_nb frame.
Anyone with amr experience here? What do you think?
More information about the ffmpeg-devel