[FFmpeg-devel] [PATCH] HAM6/HAM8 support for IFF demuxer/decoder
Thu May 6 20:19:56 CEST 2010
Sebastian Vater a ?crit :
> 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.
Oh forgot to add the patch replying this, just look at decode_init and
old iff_read_packet, then you'll understand what my problem is (if it's
:-) Basty/CDGS (-:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15576 bytes
Desc: not available
More information about the ffmpeg-devel