diff options
Diffstat (limited to 'libavformat/txd.c')
-rw-r--r-- | libavformat/txd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/txd.c b/libavformat/txd.c index 22dcfdbe77..b62a7dcbf6 100644 --- a/libavformat/txd.c +++ b/libavformat/txd.c @@ -61,7 +61,7 @@ next_chunk: chunk_size = avio_rl32(pb); marker = avio_rl32(pb); - if (url_feof(s->pb)) + if (s->pb->eof_reached) return AVERROR_EOF; if (marker != TXD_MARKER && marker != TXD_MARKER2) { av_log(s, AV_LOG_ERROR, "marker does not match\n"); |