[FFmpeg-cvslog] mjpegdec: fix indentation
Anton Khirnov
git at videolan.org
Sat Jan 26 15:46:41 CET 2013
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Jan 6 16:50:29 2013 +0100| [7bcaeb408e3eb2d2f37a306009fa7fe7eb0f1d79] | committer: Anton Khirnov
mjpegdec: fix indentation
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7bcaeb408e3eb2d2f37a306009fa7fe7eb0f1d79
---
libavcodec/mjpegdec.c | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index 9c1387f..d13c85e 100644
--- a/libavcodec/mjpegdec.c
+++ b/libavcodec/mjpegdec.c
@@ -1547,29 +1547,29 @@ eoi_parser:
av_log(avctx, AV_LOG_WARNING,
"Found EOI before any SOF, ignoring\n");
break;
- }
+ }
if (s->interlaced) {
s->bottom_field ^= 1;
/* if not bottom field, do not output image yet */
if (s->bottom_field == !s->interlace_polarity)
goto not_the_end;
- }
- *picture = *s->picture_ptr;
- *got_frame = 1;
-
- if (!s->lossless) {
- picture->quality = FFMAX3(s->qscale[0],
- s->qscale[1],
- s->qscale[2]);
- picture->qstride = 0;
- picture->qscale_table = s->qscale_table;
- memset(picture->qscale_table, picture->quality,
- (s->width + 15) / 16);
- if (avctx->debug & FF_DEBUG_QP)
- av_log(avctx, AV_LOG_DEBUG,
- "QP: %d\n", picture->quality);
- picture->quality *= FF_QP2LAMBDA;
- }
+ }
+ *picture = *s->picture_ptr;
+ *got_frame = 1;
+
+ if (!s->lossless) {
+ picture->quality = FFMAX3(s->qscale[0],
+ s->qscale[1],
+ s->qscale[2]);
+ picture->qstride = 0;
+ picture->qscale_table = s->qscale_table;
+ memset(picture->qscale_table, picture->quality,
+ (s->width + 15) / 16);
+ if (avctx->debug & FF_DEBUG_QP)
+ av_log(avctx, AV_LOG_DEBUG,
+ "QP: %d\n", picture->quality);
+ picture->quality *= FF_QP2LAMBDA;
+ }
goto the_end;
case SOS:
More information about the ffmpeg-cvslog
mailing list