mpeg4dec: use unsigned type for startcode in ff_mpeg4_decode_picture_header
authorMans Rullgard <mans@mansr.com>
Sun, 9 Oct 2011 22:21:01 +0000 (23:21 +0100)
committerMans Rullgard <mans@mansr.com>
Sun, 9 Oct 2011 22:28:54 +0000 (23:28 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/mpeg4videodec.c

index 0d061ac..cd7de73 100644 (file)
@@ -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);