[FFmpeg-devel] [PATCH]Use libopenjpeg by default if it was enabled
Carl Eugen Hoyos
cehoyos at ag.or.at
Mon Jun 8 22:01:18 CEST 2015
Hi!
Attached patch fixes ticket #3619 for me.
Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
index ce97746..6f40b51 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -104,6 +104,9 @@ void avcodec_register_all(void)
REGISTER_HWACCEL(WMV3_VAAPI, wmv3_vaapi);
REGISTER_HWACCEL(WMV3_VDPAU, wmv3_vdpau);
+ /* libopenjpeg should be used by default if enabled */
+ REGISTER_ENCDEC (LIBOPENJPEG, libopenjpeg);
+
/* video codecs */
REGISTER_ENCODER(A64MULTI, a64multi);
REGISTER_ENCODER(A64MULTI5, a64multi5);
@@ -528,7 +531,6 @@ void avcodec_register_all(void)
REGISTER_ENCODER(LIBMP3LAME, libmp3lame);
REGISTER_ENCDEC (LIBOPENCORE_AMRNB, libopencore_amrnb);
REGISTER_DECODER(LIBOPENCORE_AMRWB, libopencore_amrwb);
- REGISTER_ENCDEC (LIBOPENJPEG, libopenjpeg);
REGISTER_ENCDEC (LIBOPUS, libopus);
REGISTER_ENCDEC (LIBSCHROEDINGER, libschroedinger);
REGISTER_ENCODER(LIBSHINE, libshine);
More information about the ffmpeg-devel
mailing list