hls: fix EOF check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
9a199040d8
commit
bf606334ad
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user