[FFmpeg-devel] [PATCH] h264 bitstream filter

Michael Niedermayer michaelni
Thu Aug 30 18:57:05 CEST 2007


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


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070830/5be82fbc/attachment.pgp>



More information about the ffmpeg-devel mailing list