Revision e356fc57 libavformat/riff.c

View differences:

libavformat/riff.c
501 501
            codec->bits_per_coded_sample = avio_rl16(pb);
502 502
            codec->channel_layout = avio_rl32(pb); /* dwChannelMask */
503 503
            id = avio_rl32(pb); /* 4 first bytes of GUID */
504
            url_fskip(pb, 12); /* skip end of GUID */
504
            avio_seek(pb, 12, SEEK_CUR); /* skip end of GUID */
505 505
            cbSize -= 22;
506 506
            size -= 22;
507 507
        }
......
514 514

  
515 515
        /* It is possible for the chunk to contain garbage at the end */
516 516
        if (size > 0)
517
            url_fskip(pb, size);
517
            avio_seek(pb, size, SEEK_CUR);
518 518
    }
519 519
    codec->codec_id = ff_wav_codec_get_id(id, codec->bits_per_coded_sample);
520 520
    if (codec->codec_id == CODEC_ID_AAC_LATM) {

Also available in: Unified diff