Commit bf606334 authored by Michael Niedermayer's avatar Michael Niedermayer

hls: fix EOF check

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9a199040
......@@ -616,7 +616,7 @@ start:
AVStream *st;
ret = av_read_frame(var->ctx, &var->pkt);
if (ret < 0) {
if (!url_feof(&var->pb))
if (!url_feof(&var->pb) && ret != AVERROR_EOF)
return ret;
reset_packet(&var->pkt);
break;
......
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