From 5f3fb599536dd5bceb1d45cb73cd0b0ce3e5560c Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Tue, 11 Oct 2011 14:57:58 -0400 Subject: [PATCH] fix AC3ENC_OPT_MODE_ON/OFF The values were reversed. Signed-off-by: Justin Ruggles --- libavcodec/ac3enc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/ac3enc.h b/libavcodec/ac3enc.h index bf5ccea19f..4a017498f6 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