Revision e356fc57 libavformat/xa.c

View differences:

libavformat/xa.c
76 76

  
77 77
    st->codec->codec_type   = AVMEDIA_TYPE_AUDIO;
78 78
    st->codec->codec_id     = CODEC_ID_ADPCM_EA_MAXIS_XA;
79
    url_fskip(pb, 4);       /* Skip the XA ID */
79
    avio_seek(pb, 4, SEEK_CUR);       /* Skip the XA ID */
80 80
    xa->out_size            =  avio_rl32(pb);
81
    url_fskip(pb, 2);       /* Skip the tag */
81
    avio_seek(pb, 2, SEEK_CUR);       /* Skip the tag */
82 82
    st->codec->channels     = avio_rl16(pb);
83 83
    st->codec->sample_rate  = avio_rl32(pb);
84 84
    /* Value in file is average byte rate*/

Also available in: Unified diff