avformat/thp: fix variable types to avoid overflows

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 2b1056e4e2)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-10-31 02:19:40 +01:00
parent 5c1e9d3722
commit 807d85400c
1 changed files with 7 additions and 7 deletions

View File

@ -26,15 +26,15 @@
typedef struct ThpDemuxContext {
int version;
int first_frame;
int first_framesz;
int last_frame;
unsigned first_frame;
unsigned first_framesz;
unsigned last_frame;
int compoff;
int framecnt;
unsigned framecnt;
AVRational fps;
int frame;
int next_frame;
int next_framesz;
unsigned frame;
int64_t next_frame;
unsigned next_framesz;
int video_stream_index;
int audio_stream_index;
int compcount;