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 bf5ccea..4a01749 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