summaryrefslogtreecommitdiff
path: root/libavformat/mpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r--libavformat/mpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index 7b965babe5..d5d1641b95 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -1308,7 +1308,7 @@ static int mpegps_probe(AVProbeData *p)
typedef struct MpegDemuxContext {
- int header_state;
+ int32_t header_state;
unsigned char psm_es_type[256];
} MpegDemuxContext;
@@ -1339,7 +1339,7 @@ static int64_t get_pts(ByteIOContext *pb, int c)
}
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;