Commit 8af98fb0 authored by bcoudurier's avatar bcoudurier

typo, fix eof check

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18064 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6b497f20
......@@ -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 {
......
......@@ -23,7 +23,7 @@ c0cc2ae4df6a8b3df84986929a393116 *./tests/data/b-libav.ts
./tests/data/b-libav.swf CRC=0xe14e8847
49d04c063b7741d3ee8f85c92baa69bf *./tests/data/b-libav.ffm
380928 ./tests/data/b-libav.ffm
./tests/data/b-libav.ffm CRC=0x00000001
./tests/data/b-libav.ffm CRC=0x2b71a386
8617c30b4e862199555fd75890473e66 *./tests/data/b-libav.flv
335833 ./tests/data/b-libav.flv
./tests/data/b-libav.flv CRC=0xe14e8847
......
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