diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-21 03:47:29 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-21 03:52:55 +0400 |
commit | bf606334ad5ba9180d9a13682504bb1d7cb6ba3a (patch) | |
tree | 7f157748f9777bea2d9baac8a18aff3b77b318cb /libavformat/hls.c | |
parent | 9a199040d8e1b35b0fba3e843deafff7603276b5 (diff) |
hls: fix EOF check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/hls.c')
-rw-r--r-- | libavformat/hls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c index 41ba434e9e..54e971a765 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -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; |