From 5b2c71bb94d7cab23ee81b5c29388f5fadbcaf22 Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Tue, 24 Oct 2017 22:56:48 +0100 Subject: [PATCH] cbs_mpeg2: Fix type for marker_bit reading --- libavcodec/cbs_mpeg2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cbs_mpeg2.c b/libavcodec/cbs_mpeg2.c index d137762227..0cac29733e 100644 --- a/libavcodec/cbs_mpeg2.c +++ b/libavcodec/cbs_mpeg2.c @@ -54,7 +54,7 @@ xui(width, name, current->name) #define marker_bit() do { \ - av_unused int one = 1; \ + av_unused uint32_t one; \ CHECK(ff_cbs_read_unsigned(ctx, rw, 1, "marker_bit", &one, 1, 1)); \ } while (0)