Browse Source

Revert "MJPEG: emulate EOI also on two consecutive SOI."

This causes Ticket463, fix will be in the next commits

This reverts commit 5e2ea138b7.
tags/n0.9
Michael Niedermayer 14 years ago
parent
commit
b34c7a5656
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      libavcodec/mjpegdec.c

+ 0
- 4
libavcodec/mjpegdec.c View File

@@ -1447,10 +1447,6 @@ int ff_mjpeg_decode_frame(AVCodecContext *avctx,


s->restart_count = 0; s->restart_count = 0;
/* nothing to do on SOI */ /* nothing to do on SOI */
if (s->got_picture) {
av_log(avctx, AV_LOG_WARNING, "EOI missing, emulating\n");
goto eoi_parser;
}
break; break;
case DQT: case DQT:
ff_mjpeg_decode_dqt(s); ff_mjpeg_decode_dqt(s);


Loading…
Cancel
Save