changeset 5538:33a32de3c1bc libavcodec

Rename flag for consistency with the next commit
author kostya
date Mon, 13 Aug 2007 05:35:48 +0000
parents 3d10c3e84f96
children 1c67999f81c8
files wavpack.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/wavpack.c	Mon Aug 13 05:23:38 2007 +0000
+++ b/wavpack.c	Mon Aug 13 05:35:48 2007 +0000
@@ -27,7 +27,7 @@
  * WavPack lossless audio decoder
  */
 
-#define WV_JOINT 0x0010
+#define WV_JOINT_STEREO 0x00000010
 
 enum WP_ID_Flags{
     WP_IDF_MASK   = 0x1F,
@@ -398,7 +398,7 @@
         av_log(avctx, AV_LOG_ERROR, "Packet size is too big to be handled in lavc!\n");
         return -1;
     }
-    s->joint = AV_RL32(buf) & WV_JOINT; buf += 4;
+    s->joint = AV_RL32(buf) & WV_JOINT_STEREO; buf += 4;
     s->CRC = AV_RL32(buf); buf += 4;
     // parse metadata blocks
     while(buf < buf_end){