On 02/04/2014 02:07 PM, Tim Walker wrote:
'11b' is reserved in the A/52 specification,
but newer encoders use it to indicate a Dolby
Pro Logic II compatible Lt/Rt downmix.
---
  libavcodec/ac3.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/ac3.h b/libavcodec/ac3.h
index fa290d3..27ef48a 100644
--- a/libavcodec/ac3.h
+++ b/libavcodec/ac3.h
@@ -109,7 +109,7 @@ typedef enum AC3PreferredStereoDownmixMode {
      AC3_DMIXMOD_NOTINDICATED = 0,
      AC3_DMIXMOD_LTRT,
      AC3_DMIXMOD_LORO,
-    AC3_DMIXMOD_RESERVED
+    AC3_DMIXMOD_DPLII
  } AC3PreferredStereoDownmixMode;
typedef struct AC3BitAllocParameters {

Fine, but please add a comment for the enum value since it differs from A/52.

-Justin

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to