diff options
Diffstat (limited to 'libavformat/ffmdec.c')
-rw-r--r-- | libavformat/ffmdec.c | 2 |
1 files changed, 1 insertions, 1 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 { |