Revision 66e5b1df libavformat/filmstripdec.c

View differences:

libavformat/filmstripdec.c
80 80
    FilmstripDemuxContext *film = s->priv_data;
81 81
    AVStream *st = s->streams[0];
82 82

  
83
    if (url_feof(s->pb))
83
    if (s->pb->eof_reached)
84 84
        return AVERROR(EIO);
85 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);

Also available in: Unified diff