Revision a2704c97 libavformat/spdifdec.c

View differences:

libavformat/spdifdec.c
185 185
    if (ret)
186 186
        return ret;
187 187

  
188
    pkt->pos = url_ftell(pb) - BURST_HEADER_SIZE;
188
    pkt->pos = avio_tell(pb) - BURST_HEADER_SIZE;
189 189

  
190 190
    if (avio_read(pb, pkt->data, pkt->size) < pkt->size) {
191 191
        av_free_packet(pkt);

Also available in: Unified diff