This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
rmdec: fix crash at end of file
Originally committed as revision 18018 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Måns Rullgård
17 years ago
parent
9a10a0767c
commit
c3df4a3bfe
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
libavformat/rmdec.c
+ 2
- 1
libavformat/rmdec.c
View File
@@ -774,7 +774,8 @@ static int rm_read_packet(AVFormatContext *s, AVPacket *pkt)
flags = (seq++ == 1) ? 2 : 0;
} else {
len=sync(s, ×tamp, &flags, &i, &pos);
st = s->streams[i];
if (len > 0)
st = s->streams[i];
}
if(len<0 || url_feof(s->pb))
Write
Preview
Loading…
Cancel
Save