typo, fix eof check

Originally committed as revision 18064 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier
2009-03-20 01:39:55 +00:00
parent b9edbe9953
commit 21c6438f2c
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ static int ffm_is_avail_data(AVFormatContext *s, int size)
return 1;
pos = url_ftell(s->pb);
if (!ffm->write_index) {
if (pos == ffm->file_size);
if (pos == ffm->file_size)
return AVERROR_EOF;
avail_size = ffm->file_size - pos;
} else {