Commit b118255e authored by Reimar Döffinger's avatar Reimar Döffinger

Replace goto by break, it has the same effect.

Signed-off-by: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
parent 056c13fd
...@@ -1486,7 +1486,7 @@ eoi_parser: ...@@ -1486,7 +1486,7 @@ eoi_parser:
s->bottom_field ^= 1; s->bottom_field ^= 1;
/* if not bottom field, do not output image yet */ /* if not bottom field, do not output image yet */
if (s->bottom_field == !s->interlace_polarity) if (s->bottom_field == !s->interlace_polarity)
goto not_the_end; break;
} }
*picture = *s->picture_ptr; *picture = *s->picture_ptr;
*data_size = sizeof(AVFrame); *data_size = sizeof(AVFrame);
...@@ -1535,7 +1535,6 @@ eoi_parser: ...@@ -1535,7 +1535,6 @@ eoi_parser:
// break; // break;
} }
not_the_end:
/* eof process start code */ /* eof process start code */
buf_ptr += (get_bits_count(&s->gb)+7)/8; buf_ptr += (get_bits_count(&s->gb)+7)/8;
av_log(avctx, AV_LOG_DEBUG, "marker parser used %d bytes (%d bits)\n", av_log(avctx, AV_LOG_DEBUG, "marker parser used %d bytes (%d bits)\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment