[FFmpeg-cvslog] r10100 - trunk/libavcodec/wavpack.c

kostya subversion
Mon Aug 13 07:35:48 CEST 2007


Author: kostya
Date: Mon Aug 13 07:35:48 2007
New Revision: 10100

Log:
Rename flag for consistency with the next commit

Modified:
   trunk/libavcodec/wavpack.c

Modified: trunk/libavcodec/wavpack.c
==============================================================================
--- trunk/libavcodec/wavpack.c	(original)
+++ trunk/libavcodec/wavpack.c	Mon Aug 13 07:35:48 2007
@@ -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 @@ static int wavpack_decode_frame(AVCodecC
         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){




More information about the ffmpeg-cvslog mailing list