[FFmpeg-devel] Can we drop OpenJPEG 1.5 in favor of 2.x?

Nicolas George george at nsup.org
Sat Oct 24 20:52:11 CEST 2015

Le tridi 3 brumaire, an CCXXIV, James Almer a écrit :
> No idea about other distros, but in any case, if there's any that doesn't
> ship it then we should keep supporting it for a while, even if it means
> adding some ugly macros.

Depending on the ugliness of the macros, maybe duplicating the file as
libopenjpeg15.c and libopenjpeg2.c, and having the build system use one (or
possibly both, for testing) would be a better option. Duplicating code is of
course not a good practice, but littering the bug with conditional
compilation is horrible too, whichever is the least horrible in this
particular case should be considered.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151024/57d86f48/attachment.sig>

More information about the ffmpeg-devel mailing list