Revision 4fd71a0e

View differences:

libavformat/riff.c
374 374
        cbSize = FFMIN(size, cbSize);
375 375
        if (cbSize >= 22 && id == 0xfffe) { /* WAVEFORMATEXTENSIBLE */
376 376
            codec->bits_per_coded_sample = get_le16(pb);
377
            get_le32(pb); /* dwChannelMask */
377
            codec->channel_layout = get_le32(pb); /* dwChannelMask */
378 378
            id = get_le32(pb); /* 4 first bytes of GUID */
379 379
            url_fskip(pb, 12); /* skip end of GUID */
380 380
            cbSize -= 22;

Also available in: Unified diff