[FFmpeg-cvslog] avcodec/ccaption_dec: remove unused arguments from function

Paul B Mahol git at videolan.org
Sat Jun 13 13:03:47 EEST 2020


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Jun 13 11:48:43 2020 +0200| [847d0b99dee1c2a8d9c3e8649fee7faa424efc3e] | committer: Paul B Mahol

avcodec/ccaption_dec: remove unused arguments from function

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=847d0b99dee1c2a8d9c3e8649fee7faa424efc3e
---

 libavcodec/ccaption_dec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/ccaption_dec.c b/libavcodec/ccaption_dec.c
index 9b1dbc053b..7a494b25a4 100644
--- a/libavcodec/ccaption_dec.c
+++ b/libavcodec/ccaption_dec.c
@@ -619,7 +619,7 @@ static int handle_eoc(CCaptionSubContext *ctx, int64_t pts)
     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);
     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;
             break;
         case 0x24:
-            handle_delete_end_of_row(ctx, hi, lo);
+            handle_delete_end_of_row(ctx);
             break;
         case 0x25:
         case 0x26:



More information about the ffmpeg-cvslog mailing list