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

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/mjpegdec.c+1−2
@@ -1486,7 +1486,7 @@ eoi_parser: · 1485 unmodified lines
1486 s->bottom_field ^= 1;1486 s->bottom_field ^= 1;
1487 /* if not bottom field, do not output image yet */1487 /* if not bottom field, do not output image yet */
1488 if (s->bottom_field == !s->interlace_polarity)1488 if (s->bottom_field == !s->interlace_polarity)
1489 goto not_the_end;1489 break;
1490 }1490 }
1491 *picture = *s->picture_ptr;1491 *picture = *s->picture_ptr;
1492 *data_size = sizeof(AVFrame);1492 *data_size = sizeof(AVFrame);
@@ -1535,7 +1535,6 @@ eoi_parser: · 42 unmodified lines
1535// break;1535// break;
1536 }1536 }
1537 1537
1538not_the_end:
1539 /* eof process start code */1538 /* eof process start code */
1540 buf_ptr += (get_bits_count(&s->gb)+7)/8;1539 buf_ptr += (get_bits_count(&s->gb)+7)/8;
1541 av_log(avctx, AV_LOG_DEBUG, "marker parser used %d bytes (%d bits)\n",1540 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