[FFmpeg-cvslog] Revert "MJPEG: emulate EOI also on two consecutive SOI."
Michael Niedermayer
git at videolan.org
Thu Sep 15 04:33:54 CEST 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Sep 15 03:03:33 2011 +0200| [b34c7a56565c6ebac02c9daf95f06217bc52eed8] | committer: Michael Niedermayer
Revert "MJPEG: emulate EOI also on two consecutive SOI."
This causes Ticket463, fix will be in the next commits
This reverts commit 5e2ea138b7c4c7f3910837611338bb3b8b761045.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b34c7a56565c6ebac02c9daf95f06217bc52eed8
---
libavcodec/mjpegdec.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index b2e063f..2c6330b 100644
--- a/libavcodec/mjpegdec.c
+++ b/libavcodec/mjpegdec.c
@@ -1447,10 +1447,6 @@ int ff_mjpeg_decode_frame(AVCodecContext *avctx,
s->restart_count = 0;
/* nothing to do on SOI */
- if (s->got_picture) {
- av_log(avctx, AV_LOG_WARNING, "EOI missing, emulating\n");
- goto eoi_parser;
- }
break;
case DQT:
ff_mjpeg_decode_dqt(s);
More information about the ffmpeg-cvslog
mailing list