aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-03-20 01:39:55 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-03-20 01:39:55 +0000
commit21c6438f2c353b4e0a5bb16bb5861fb8a799e121 (patch)
tree0d1f9ec441797fa24b0174f3865c0d8ade75bfea
parentb9edbe9953d43b1bfff6ed5ffe8e615289a5d944 (diff)
downloadffmpeg-21c6438f2c353b4e0a5bb16bb5861fb8a799e121.tar.gz
typo, fix eof check
Originally committed as revision 18064 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/ffmdec.c2
-rw-r--r--tests/libav.regression.ref2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c
index 180762b4df..cc2769316e 100644
--- a/libavformat/ffmdec.c
+++ b/libavformat/ffmdec.c
@@ -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 {
diff --git a/tests/libav.regression.ref b/tests/libav.regression.ref
index 8bd01e9d90..d5c488e6d8 100644
--- a/tests/libav.regression.ref
+++ b/tests/libav.regression.ref
@@ -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