[FFmpeg-devel] Can we drop OpenJPEG 1.5 in favor of 2.x?
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel