[FFmpeg-cvslog] cbs_mpeg2: Fix marker_bit type

Mark Thompson git at videolan.org
Mon Dec 11 01:51:04 EET 2017


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Thu Nov  9 01:04:25 2017 +0000| [5a6707e49b7710f48d658b2f2591b9a6337fb9b7] | committer: Mark Thompson

cbs_mpeg2: Fix marker_bit type

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5a6707e49b7710f48d658b2f2591b9a6337fb9b7
---

 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 8a4da96a0a..54875c2e1c 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)
 



More information about the ffmpeg-cvslog mailing list