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

Maxim Bublis b at codemonkey.ru
Thu Jan 30 12:25:21 CET 2014


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140130/75df110e/attachment.html>


More information about the vlc-devel mailing list