[FFmpeg-devel] [PATCH] h264 bitstream filter

Benoit Fouet benoit.fouet
Fri Aug 31 09:00:02 CEST 2007


Michael Niedermayer wrote:
> Hi
>
> On Thu, Aug 30, 2007 at 05:12:09PM +0200, Benoit Fouet wrote:
> [...]
>   
>> updated patch attached
>>     
> [...]
>   
>> +            bsfc->priv_data = out;
>> +            bsfc->filter->priv_data_size = priv_data_size;
>>     
>
> bsfc->filter is shared between all instances
> writing to it is absolutely not allowed
>
> please properly initalize priv_data_size to the size of your context
> and store whatever you need in this context
>
>   

it's always easier after some sleep :)
here it is, along with other modifications i thought of...

-- 
Ben
Purple Labs S.A.
www.purplelabs.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: h264_bsf.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070831/8bad72da/attachment.asc>



More information about the ffmpeg-devel mailing list