[Ffmpeg-devel] [PATCH] avctx->frame_size/channels/sample_rate fix for AMR

Andrew Voznytsa andrew.voznytsa
Thu Sep 14 15:18:54 CEST 2006


Baptiste Coudurier wrote:
> I don't think settings frame size is correct, packets may contains more
> than one frame, implementing an AVCodecParser for AMR would be better.
>
I think you should distinguish transport packets and coded frames - fact
that your transport sends a few coded AMR frames together does not mean
that decoder should support such cases (and it does not support. See
amr_[nb,wb]_decode_frame()).

--
Best regards,
Andrew Voznytsa





More information about the ffmpeg-devel mailing list