[FFmpeg-cvslog] mpeg4dec: use unsigned type for startcode in ff_mpeg4_decode_picture_header

Mans Rullgard git at videolan.org
Mon Oct 10 03:59:52 CEST 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sun Oct  9 23:21:01 2011 +0100| [581810f5024dbb9df8e794dc0f5beac30d3a5fd4] | committer: Mans Rullgard

mpeg4dec: use unsigned type for startcode in ff_mpeg4_decode_picture_header

Signed-off-by: Mans Rullgard <mans at mansr.com>

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

 libavcodec/mpeg4videodec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index 0d061ac..cd7de73 100644
--- a/libavcodec/mpeg4videodec.c
+++ b/libavcodec/mpeg4videodec.c
@@ -2101,7 +2101,7 @@ static int decode_vop_header(MpegEncContext *s, GetBitContext *gb){
  */
 int ff_mpeg4_decode_picture_header(MpegEncContext * s, GetBitContext *gb)
 {
-    int startcode, v;
+    unsigned startcode, v;
 
     /* search next start code */
     align_get_bits(gb);



More information about the ffmpeg-cvslog mailing list