History

Replace goto by break, it has the same effect.

Reimar Döffinger committed 15 years ago

Commit b1182551 parent 056c13f1 file · +1 −2Browse files

Unified · Split

libavcodec/mjpegdec.c+1−2
@@ -1486,7 +1486,7 @@ eoi_parser: · 1485 unmodified lines
14861486 s->bottom_field ^= 1;
14871487 /* if not bottom field, do not output image yet */
14881488 if (s->bottom_field == !s->interlace_polarity)
1489− goto not_the_end;
1489+ break;
14901490 }
14911491 *picture = *s->picture_ptr;
14921492 *data_size = sizeof(AVFrame);
@@ -1535,7 +1535,6 @@ eoi_parser: · 42 unmodified lines
15351535 // break;
15361536 }
15371537
1538−not_the_end:
15391538 /* eof process start code */
15401539 buf_ptr += (get_bits_count(&s->gb)+7)/8;
15411540 av_log(avctx, AV_LOG_DEBUG, "marker parser used %d bytes (%d bits)\n",

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t