Commit 2b1056e4 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/thp: fix variable types to avoid overflows

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b73900b8
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment