diff options
Diffstat (limited to 'libavformat/soxdec.c')
-rw-r--r-- | libavformat/soxdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/soxdec.c b/libavformat/soxdec.c index 6d99033f47..293e8463a3 100644 --- a/libavformat/soxdec.c +++ b/libavformat/soxdec.c @@ -127,7 +127,7 @@ static int sox_read_packet(AVFormatContext *s, { int ret, size; - if (url_feof(s->pb)) + if (s->pb->eof_reached) return AVERROR_EOF; size = SOX_SAMPLES*s->streams[0]->codec->block_align; |