Revision 82c9182f libavcodec/mjpegdec.c

View differences:

libavcodec/mjpegdec.c
1479 1479
            }
1480 1480
        }
1481 1481
    }
1482
    if (s->got_picture) {
1483
        av_log(avctx, AV_LOG_WARNING, "EOI missing, emulating\n");
1484
        goto eoi_parser;
1485
    }
1482 1486
    av_log(avctx, AV_LOG_FATAL, "No JPEG data found in image\n");
1483 1487
    return -1;
1484 1488
the_end:

Also available in: Unified diff