[FFmpeg-devel] [PATCH] libopenjpegenc: recreate image data buffer after encoding frame
andreas.cadhalpun at googlemail.com
Thu Oct 13 22:21:31 EEST 2016
On 13.10.2016 03:36, Michael Bradshaw wrote:
> Thanks for that (and the link back to the OpenJPEG source). Well dang. I
> think it would be better to change the patch to completely remove the image
> member from LibOpenJPEGContext, and instead just create a local image (and
> destroy it) for every call to libopenjpeg_encode_frame.
OK. Attached patch does that for openjpeg 2.
I didn't change the behavior for openjpeg 1, as reusing the image works there.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4925 bytes
Desc: not available
More information about the ffmpeg-devel