From 00842b3a0dee8cd1729c0c7566e0ca4272271bc3 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 19 Jun 2020 23:14:26 +0200 Subject: [PATCH] avcodec/ccaption_dec: use uint8_t type for prev_cmd array Commands are unsigned so be consistent. --- libavcodec/ccaption_dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- GitLab