diff libopenjpeg.c @ 12108:c35d7bc64882 libavcodec

Add new decoder property max_lowres and do not init decoder if requested value is higher.
author cehoyos
date Wed, 07 Jul 2010 21:23:36 +0000
parents 7dd2a45249a9
children 914f484bb476
line wrap: on
line diff
--- a/libopenjpeg.c	Wed Jul 07 20:23:56 2010 +0000
+++ b/libopenjpeg.c	Wed Jul 07 21:23:36 2010 +0000
@@ -193,5 +193,6 @@
     libopenjpeg_decode_close,
     libopenjpeg_decode_frame,
     CODEC_CAP_DR1,
+    .max_lowres = 5,
     .long_name = NULL_IF_CONFIG_SMALL("OpenJPEG based JPEG 2000 decoder"),
 } ;