diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2007-08-13 05:35:48 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2007-08-13 05:35:48 +0000 |
commit | 11ead90e233486a02e15cb7df809dafa4068baaa (patch) | |
tree | 3f7c90405305f6c94f456aabe085ac4cc3d2d3ff /libavcodec/wavpack.c | |
parent | 42c71907cb394f1b35627631fbc1778f338942d2 (diff) | |
download | ffmpeg-11ead90e233486a02e15cb7df809dafa4068baaa.tar.gz |
Rename flag for consistency with the next commit
Originally committed as revision 10100 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wavpack.c')
-rw-r--r-- | libavcodec/wavpack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c index 17ea62f345..788466ec12 100644 --- a/libavcodec/wavpack.c +++ b/libavcodec/wavpack.c @@ -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(AVCodecContext *avctx, 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){ |