Revision e356fc57 libavformat/aea.c

View differences:

libavformat/aea.c
62 62
        return AVERROR(ENOMEM);
63 63

  
64 64
    /* Parse the amount of channels and skip to pos 2048(0x800) */
65
    url_fskip(s->pb, 264);
65
    avio_seek(s->pb, 264, SEEK_CUR);
66 66
    st->codec->channels = avio_r8(s->pb);
67
    url_fskip(s->pb, 1783);
67
    avio_seek(s->pb, 1783, SEEK_CUR);
68 68

  
69 69

  
70 70
    st->codec->codec_type     = AVMEDIA_TYPE_AUDIO;

Also available in: Unified diff