[FFmpeg-devel] avcodec_decode_audio2 doesn't handle all data with libamr_bn decoder
Wed Feb 20 14:29:56 CET 2008
On Wed, Feb 20, 2008 at 12:19:50PM +0100, Thorsten Jordan wrote:
> 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?
Implement an AVParser for amr.
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel