cbs_mpeg2: Fix marker_bit type
authorMark Thompson <sw@jkqxz.net>
Thu, 9 Nov 2017 01:04:25 +0000 (01:04 +0000)
committerMark Thompson <sw@jkqxz.net>
Sat, 2 Dec 2017 15:21:30 +0000 (15:21 +0000)
libavcodec/cbs_mpeg2.c

index 8a4da96..54875c2 100644 (file)
@@ -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)