avcodec/ccaption_dec: remove unused arguments from function

pull/340/head
Paul B Mahol 5 years ago
parent 6995ea3506
commit 847d0b99de
  1. 4
      libavcodec/ccaption_dec.c

@ -619,7 +619,7 @@ static int handle_eoc(CCaptionSubContext *ctx, int64_t pts)
return ret; return ret;
} }
static void handle_delete_end_of_row(CCaptionSubContext *ctx, char hi, char lo) static void handle_delete_end_of_row(CCaptionSubContext *ctx)
{ {
struct Screen *screen = get_writing_screen(ctx); struct Screen *screen = get_writing_screen(ctx);
write_char(ctx, screen, 0); write_char(ctx, screen, 0);
@ -690,7 +690,7 @@ static int process_cc608(CCaptionSubContext *ctx, int64_t pts, uint8_t hi, uint8
ctx->mode = CCMODE_POPON; ctx->mode = CCMODE_POPON;
break; break;
case 0x24: case 0x24:
handle_delete_end_of_row(ctx, hi, lo); handle_delete_end_of_row(ctx);
break; break;
case 0x25: case 0x25:
case 0x26: case 0x26:

Loading…
Cancel
Save