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

Sebastian Vater cdgs.basty
Thu May 6 20:14:24 CEST 2010


M?ns Rullg?rd a ?crit :
> Sebastian Vater <cdgs.basty at googlemail.com> writes:
>
>   
>> Ronald S. Bultje a ?crit :
>>     
>>> Hi,
>>>
>>> On Thu, May 6, 2010 at 1:26 PM, Sebastian Vater
>>> <cdgs.basty at googlemail.com> wrote:
>>>   
>>>       
>>>> I also updated the new patch attached here to use bytestream.h API
>>>> instead to put the values as suggested by Ronald.
>>>>     
>>>>         
>>> Now please do the same for the GET_* macros. ;-).
>>>   
>>>       
>> 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.

-- 

Best regards,
                   :-) Basty/CDGS (-:




More information about the ffmpeg-devel mailing list