[FFmpeg-soc] [QUESTION] Force more data to decode_frame()

Ronald S. Bultje rsbultje at gmail.com
Mon Jul 12 01:29:00 CEST 2010


Hi,

On Sun, Jul 11, 2010 at 1:46 PM, Mohamed Naufal <naufal11 at gmail.com> wrote:
> Is there any way to force more data to be passed to decode_frame() of
> a decoder? G.723.1 has 4 frame types, each of size 24, 20, 10 and 1
> byte. For a particular frame of type 0, only 16B of data is being
> passed to decode_frame() when obviously 24B are needed. Is using a
> parser the only solution?

For small amounts of data, you can cache it in the decoder context,
all WMA decoders do this, for example.

Ronald


More information about the FFmpeg-soc mailing list