Revision 11ead90e

View differences:

libavcodec/wavpack.c
27 27
 * WavPack lossless audio decoder
28 28
 */
29 29

  
30
#define WV_JOINT 0x0010
30
#define WV_JOINT_STEREO 0x00000010
31 31

  
32 32
enum WP_ID_Flags{
33 33
    WP_IDF_MASK   = 0x1F,
......
398 398
        av_log(avctx, AV_LOG_ERROR, "Packet size is too big to be handled in lavc!\n");
399 399
        return -1;
400 400
    }
401
    s->joint = AV_RL32(buf) & WV_JOINT; buf += 4;
401
    s->joint = AV_RL32(buf) & WV_JOINT_STEREO; buf += 4;
402 402
    s->CRC = AV_RL32(buf); buf += 4;
403 403
    // parse metadata blocks
404 404
    while(buf < buf_end){

Also available in: Unified diff