fix AC3ENC_OPT_MODE_ON/OFF
authorJohn Stebbins <stebbins@jetheaddev.com>
Tue, 11 Oct 2011 18:57:58 +0000 (14:57 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 11 Oct 2011 18:57:58 +0000 (14:57 -0400)
The values were reversed.

Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
libavcodec/ac3enc.h

index bf5ccea19fe927d667315a15fc78df59301ebfc8..4a017498f605b66b78086049ddd7f0df9f1decc9 100644 (file)
@@ -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