History

avcodec/ccaption_dec: Fix mixed declaration and statement.

Michael Niedermayer committed 10 years ago

Commit 6cc4c421 parent 4448f161 file · +2 −1Browse files

Unified · Split

libavcodec/ccaption_dec.c+2−1
@@ -714,8 +714,9 @@ static void process_cc608(CCaptionSubContext *ctx, int64_t pts, uint8_t hi, uint · 713 unmodified lines
714714 handle_char(ctx, hi, lo, pts);
715715 ctx->prev_cmd[0] = ctx->prev_cmd[1] = 0;
716716 } else if (hi == 0x17 && lo >= 0x21 && lo <= 0x23) {
717+ int i;
717718 /* Tab offsets (spacing) */
718− for (int i = 0; i < lo - 0x20; i++) {
719+ for (i = 0; i < lo - 0x20; i++) {
719720 handle_char(ctx, ' ', 0, pts);
720721 }
721722 } else {

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