[Ffmpeg-devel] [PATCH] avctx->frame_size/channels/sample_rate fix for AMR
Baptiste Coudurier
baptiste.coudurier
Thu Sep 14 14:43:45 CEST 2006
Hi
Andrew Voznytsa wrote:
> [...] + + avctx->sample_rate = 8000; + avctx->channels = 1; +
> avctx->frame_size = 160; +
I don't think settings frame size is correct, packets may contains more
than one frame, implementing an AVCodecParser for AMR would be better.
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
More information about the ffmpeg-devel
mailing list