[FFmpeg-devel] [PATCH] HAM6/HAM8 support for IFF demuxer/decoder
Sebastian Vater
cdgs.basty
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
one).
--
Best regards,
:-) Basty/CDGS (-:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iff-ham-support.patch
Type: text/x-patch
Size: 15576 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100506/b4ae76e1/attachment.bin>
More information about the ffmpeg-devel
mailing list