Commit 1e2387b8 authored by benoit's avatar benoit

nutdec: make chapter start and length uint64_t to prevent overflows.

Patch by Anton Khirnov wyskas chez gmail punto com


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22127 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 806fc735
......@@ -389,8 +389,8 @@ static void set_disposition_bits(AVFormatContext* avf, char* value, int stream_i
static int decode_info_header(NUTContext *nut){
AVFormatContext *s= nut->avf;
ByteIOContext *bc = s->pb;
uint64_t tmp;
unsigned int stream_id_plus1, chapter_start, chapter_len, count;
uint64_t tmp, chapter_start, chapter_len;
unsigned int stream_id_plus1, count;
int chapter_id, i;
int64_t value, end;
char name[256], str_value[1024], type_str[256];
......
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