[vlc-devel] [PATCH] codec/jpeg: move some setup in init function

Rafaël Carré funman at videolan.org
Fri Jan 31 12:45:50 CET 2014

On 01/30/14 12:25, Maxim Bublis wrote:
> Hi.
> I've found, that it is safe to call jpeg_std_error once.
> It is safe to call jpeg_create_decompress and jpeg_destroy_decompress on
> each DecodeBlock call, as first function preserves already set error
> handler, and second one just resets some fields, not including error
> handlers.

Thanks, applied

More information about the vlc-devel mailing list