[FFmpeg-devel] [PATCH]Mark experimental j2k decoder as experimental if libopenjpeg is available

Carl Eugen Hoyos cehoyos at ag.or.at
Wed May 7 09:20:34 CEST 2014


Hi!

Attached patch fixes ticket #3619.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index fbfb7d1..8698b8c 100644
--- a/libavcodec/jpeg2000dec.c
+++ b/libavcodec/jpeg2000dec.c
@@ -1734,4 +1734,7 @@ AVCodec ff_jpeg2000_decoder = {
     .priv_class       = &jpeg2000_class,
     .max_lowres       = 5,
     .profiles         = NULL_IF_CONFIG_SMALL(profiles)
+#if CONFIG_LIBOPENJPEG_DECODER
+    .capabilities   = CODEC_CAP_EXPERIMENTAL,
+#endif
 };


More information about the ffmpeg-devel mailing list