Revision 66e5b1df libavformat/flvdec.c

View differences:

libavformat/flvdec.c
311 311
    dts = avio_rb24(s->pb);
312 312
    dts |= avio_r8(s->pb) << 24;
313 313
//    av_log(s, AV_LOG_DEBUG, "type:%d, size:%d, dts:%d\n", type, size, dts);
314
    if (url_feof(s->pb))
314
    if (s->pb->eof_reached)
315 315
        return AVERROR_EOF;
316 316
    avio_seek(s->pb, 3, SEEK_CUR); /* stream id, always 0 */
317 317
    flags = 0;

Also available in: Unified diff