Revision a2704c97 libavformat/filmstripdec.c

View differences:

libavformat/filmstripdec.c
82 82

  
83 83
    if (url_feof(s->pb))
84 84
        return AVERROR(EIO);
85
    pkt->dts = url_ftell(s->pb) / (st->codec->width * (st->codec->height + film->leading) * 4);
85
    pkt->dts = avio_tell(s->pb) / (st->codec->width * (st->codec->height + film->leading) * 4);
86 86
    pkt->size = av_get_packet(s->pb, pkt, st->codec->width * st->codec->height * 4);
87 87
    avio_seek(s->pb, st->codec->width * film->leading * 4, SEEK_CUR);
88 88
    if (pkt->size < 0)

Also available in: Unified diff