mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
nutdec: make chapter start and length uint64_t to prevent overflows.
Patch by Anton Khirnov wyskas chez gmail punto com Originally committed as revision 22127 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Benoit Fouet
parent
c71591a509
commit
e1c0b00b06
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user