Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-31 05:19:40 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-10-31 05:19:40 +0400
commit2b1056e4e27b046af3777e8bd65a5145abff878f (patch)
tree58e85c1409cf11bb99649bf56485f10ec719ab1f /libavformat/thp.c
parentb73900b8a6c0a23e63e84a5eed0a5b9b3ffe1198 (diff)
avformat/thp: fix variable types to avoid overflows
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/thp.c')
-rw-r--r--libavformat/thp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/thp.c b/libavformat/thp.c
index 3717b8f12c..09979aca99 100644
--- a/libavformat/thp.c
+++ b/libavformat/thp.c
@@ -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;