aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-08-27 21:54:17 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-08-27 22:17:23 +0200
commitb118255e91e67f83a1c3278f7fb9fc17c2f69d2b (patch)
treeda8ea0d79f1a19d9f49674e6b587756c86f16d65
parent056c13fd170e0bc188c25a2ff61241f33c9d0ba1 (diff)
downloadffmpeg-b118255e91e67f83a1c3278f7fb9fc17c2f69d2b.tar.gz
Replace goto by break, it has the same effect.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-rw-r--r--libavcodec/mjpegdec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index 6331e3dbad..9bfe706001 100644
--- a/libavcodec/mjpegdec.c
+++ b/libavcodec/mjpegdec.c
@@ -1486,7 +1486,7 @@ eoi_parser:
s->bottom_field ^= 1;
/* if not bottom field, do not output image yet */
if (s->bottom_field == !s->interlace_polarity)
- goto not_the_end;
+ break;
}
*picture = *s->picture_ptr;
*data_size = sizeof(AVFrame);
@@ -1535,7 +1535,6 @@ eoi_parser:
// break;
}
-not_the_end:
/* eof process start code */
buf_ptr += (get_bits_count(&s->gb)+7)/8;
av_log(avctx, AV_LOG_DEBUG, "marker parser used %d bytes (%d bits)\n",