summaryrefslogtreecommitdiff
path: root/libavformat/tmv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/tmv.c')
-rw-r--r--libavformat/tmv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tmv.c b/libavformat/tmv.c
index c632988e18..1116ca0369 100644
--- a/libavformat/tmv.c
+++ b/libavformat/tmv.c
@@ -146,7 +146,7 @@ static int tmv_read_packet(AVFormatContext *s, AVPacket *pkt)
int ret, pkt_size = tmv->stream_index ?
tmv->audio_chunk_size : tmv->video_chunk_size;
- if (url_feof(pb))
+ if (pb->eof_reached)
return AVERROR_EOF;
ret = av_get_packet(pb, pkt, pkt_size);