diff mpeg.c @ 1332:7474cc6383d4 libavformat

fix some signedness warnings
author mru
date Wed, 27 Sep 2006 19:47:39 +0000
parents 95f56c7b24eb
children 0899bfe4105c
line wrap: on
line diff
--- a/mpeg.c	Wed Sep 27 19:39:41 2006 +0000
+++ b/mpeg.c	Wed Sep 27 19:47:39 2006 +0000
@@ -1308,7 +1308,7 @@
 
 
 typedef struct MpegDemuxContext {
-    int header_state;
+    int32_t header_state;
     unsigned char psm_es_type[256];
 } MpegDemuxContext;
 
@@ -1339,7 +1339,7 @@
 }
 
 static int find_next_start_code(ByteIOContext *pb, int *size_ptr,
-                                uint32_t *header_state)
+                                int32_t *header_state)
 {
     unsigned int state, v;
     int val, n;