avcodec/ccaption_dec: use uint8_t type for prev_cmd array
authorPaul B Mahol <onemda@gmail.com>
Fri, 19 Jun 2020 21:14:26 +0000 (23:14 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sat, 20 Jun 2020 13:07:26 +0000 (15:07 +0200)
Commands are unsigned so be consistent.

libavcodec/ccaption_dec.c

index b191b08..c971c91 100644 (file)
@@ -240,7 +240,7 @@ typedef struct CCaptionSubContext {
     int64_t buffer_time[2];
     int screen_touched;
     int64_t last_real_time;
-    char prev_cmd[2];
+    uint8_t prev_cmd[2];
     int readorder;
 } CCaptionSubContext;