summaryrefslogtreecommitdiff
path: root/libavcodec/ccaption_dec.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-06-19 23:14:26 +0200
committerPaul B Mahol <onemda@gmail.com>2020-06-20 15:07:26 +0200
commit00842b3a0dee8cd1729c0c7566e0ca4272271bc3 (patch)
tree9527bd3fd789dcc2ecc4953e144fb5d2e23c266f /libavcodec/ccaption_dec.c
parentbd1b78e91ac1e6b9c603c032fc633f85f31abe71 (diff)
avcodec/ccaption_dec: use uint8_t type for prev_cmd array
Commands are unsigned so be consistent.
Diffstat (limited to 'libavcodec/ccaption_dec.c')
-rw-r--r--libavcodec/ccaption_dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ccaption_dec.c b/libavcodec/ccaption_dec.c
index b191b08320..c971c91693 100644
--- a/libavcodec/ccaption_dec.c
+++ b/libavcodec/ccaption_dec.c
@@ -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;