diff --git a/libavcodec/ccaption_dec.c b/libavcodec/ccaption_dec.c index b191b08320f79f304d9d9ef5f0757851bb353e76..c971c91693da810176cc3473078136e8a2b368b4 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;