jpeg2000: Fix profile define values
authorFrancois Cartegnie <fcvlcdev@free.fr>
Mon, 23 May 2016 12:12:15 +0000 (14:12 +0200)
committerDiego Biurrun <diego@biurrun.de>
Tue, 24 May 2016 10:22:57 +0000 (12:22 +0200)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavcodec/avcodec.h

index dc6649a..f33b7e5 100644 (file)
@@ -2934,9 +2934,9 @@ typedef struct AVCodecContext {
 #define FF_PROFILE_MPEG4_SIMPLE_STUDIO             14
 #define FF_PROFILE_MPEG4_ADVANCED_SIMPLE           15
 
-#define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0   0
-#define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1   1
-#define FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION  2
+#define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0   1
+#define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1   2
+#define FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION  32768
 #define FF_PROFILE_JPEG2000_DCINEMA_2K              3
 #define FF_PROFILE_JPEG2000_DCINEMA_4K              4