Revision 66e5b1df libavformat/matroskadec.c

View differences:

libavformat/matroskadec.c
548 548
     * use it safely here to catch EOS. */
549 549
    if (!(total = avio_r8(pb))) {
550 550
        /* we might encounter EOS here */
551
        if (!url_feof(pb)) {
551
        if (!pb->eof_reached) {
552 552
            int64_t pos = avio_tell(pb);
553 553
            av_log(matroska->ctx, AV_LOG_ERROR,
554 554
                   "Read error at pos. %"PRIu64" (0x%"PRIx64")\n",

Also available in: Unified diff