[FFmpeg-cvslog] fix AC3ENC_OPT_MODE_ON/OFF

John Stebbins git at videolan.org
Wed Oct 12 05:51:18 CEST 2011


ffmpeg | branch: master | John Stebbins <stebbins at jetheaddev.com> | Tue Oct 11 14:57:58 2011 -0400| [5f3fb599536dd5bceb1d45cb73cd0b0ce3e5560c] | committer: Justin Ruggles

fix AC3ENC_OPT_MODE_ON/OFF

The values were reversed.

Signed-off-by: Justin Ruggles <justin.ruggles at gmail.com>

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

 libavcodec/ac3enc.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/ac3enc.h b/libavcodec/ac3enc.h
index bf5ccea..4a01749 100644
--- a/libavcodec/ac3enc.h
+++ b/libavcodec/ac3enc.h
@@ -73,8 +73,8 @@ typedef int64_t CoefSumType;
 #define AC3ENC_OPT_OFF              0
 #define AC3ENC_OPT_ON               1
 #define AC3ENC_OPT_NOT_INDICATED    0
-#define AC3ENC_OPT_MODE_ON          1
-#define AC3ENC_OPT_MODE_OFF         2
+#define AC3ENC_OPT_MODE_ON          2
+#define AC3ENC_OPT_MODE_OFF         1
 
 /* specific option values */
 #define AC3ENC_OPT_LARGE_ROOM       1



More information about the ffmpeg-cvslog mailing list