From 44d3fea53b67619dd64563d4b404ebf5c8dd9e8d Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Wed, 24 Jan 2007 10:55:07 +0000 Subject: [PATCH] make some fields unsigned Originally committed as revision 7680 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mov.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 45981f4..d76b9b1 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -241,21 +241,21 @@ struct MOVParseTableEntry; typedef struct MOVStreamContext { int ffindex; /* the ffmpeg stream id */ long next_chunk; - long chunk_count; + unsigned int chunk_count; int64_t *chunk_offsets; - int stts_count; + unsigned int stts_count; Time2Sample *stts_data; - int ctts_count; + unsigned int ctts_count; Time2Sample *ctts_data; - int edit_count; /* number of 'edit' (elst atom) */ - long sample_to_chunk_sz; + unsigned int edit_count; /* number of 'edit' (elst atom) */ + unsigned int sample_to_chunk_sz; MOV_sample_to_chunk_tbl *sample_to_chunk; int sample_to_ctime_index; int sample_to_ctime_sample; - long sample_size; - long sample_count; + unsigned int sample_size; + unsigned int sample_count; long *sample_sizes; - long keyframe_count; + unsigned int keyframe_count; long *keyframes; int time_scale; int time_rate; -- 2.7.4