[FFmpeg-cvslog] jpeg2000: Fix profile define values

Francois Cartegnie git at videolan.org
Sun Jun 26 20:23:44 CEST 2016


ffmpeg | branch: release/3.1 | Francois Cartegnie <fcvlcdev at free.fr> | Mon May 23 14:12:15 2016 +0200| [ad61da054bd8c74a5d5b38d80846228fc6147108] | committer: Diego Biurrun

jpeg2000: Fix profile define values

Signed-off-by: Diego Biurrun <diego at biurrun.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ad61da054bd8c74a5d5b38d80846228fc6147108
---

 libavcodec/avcodec.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index dc6649a..f33b7e5 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -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
 



More information about the ffmpeg-cvslog mailing list