[FFmpeg-devel] [PATCH] HAM6/HAM8 support for IFF demuxer/decoder

Måns Rullgård mans
Thu May 6 20:21:58 CEST 2010

Sebastian Vater <cdgs.basty at googlemail.com> writes:

> M?ns Rullg?rd a ?crit :
>> Sebastian Vater <cdgs.basty at googlemail.com> writes:
>>> Just a short question regarding this...is avcodec/decode_init called
>>> _before_ avformat/read_packet?
>> That question doesn't make sense.  They are completely independent.
> Nope, because both call ff_cmap_read_palette, while ff_cmap_read_palette
> accesses avctx->priv_data, which contains the local structure for the
> transfered extradata.
> In case decode_init is run after read_packet this structure hasn't been
> initialized yet, since that's done in decode_init.

I'm telling you they are independent.  Is Paris before Rome?  No, they
both exist independently.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list