Commit 7cccaf78 authored by bcoudurier's avatar bcoudurier

set avi fsize to INT64_MAX if riff tag end is not set and file size is not available

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18052 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 93cc2014
......@@ -260,7 +260,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
avi->fsize = url_fsize(pb);
if(avi->fsize<=0)
avi->fsize= avi->riff_end;
avi->fsize= avi->riff_end == 8 ? INT64_MAX : avi->riff_end;
/* first list tag */
stream_index = -1;
......
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