diff options
Diffstat (limited to 'libavformat/sol.c')
-rw-r--r-- | libavformat/sol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sol.c b/libavformat/sol.c index 7ad894e304..2a3b40c02b 100644 --- a/libavformat/sol.c +++ b/libavformat/sol.c @@ -130,7 +130,7 @@ static int sol_read_packet(AVFormatContext *s, { int ret; - if (url_feof(s->pb)) + if (s->pb->eof_reached) return AVERROR(EIO); ret= av_get_packet(s->pb, pkt, MAX_SIZE); pkt->stream_index = 0; |