OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
056c13f
)
Replace goto by break, it has the same effect.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 27 Aug 2011 19:54:17 +0000
(21:54 +0200)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 27 Aug 2011 20:17:23 +0000
(22:17 +0200)
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavcodec/mjpegdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/mjpegdec.c
b/libavcodec/mjpegdec.c
index
6331e3d
..
9bfe706
100644
(file)
--- 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",