summaryrefslogtreecommitdiff
path: root/libavformat/psxstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/psxstr.c')
-rw-r--r--libavformat/psxstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c
index 744ae94459..3b0780b6ea 100644
--- a/libavformat/psxstr.c
+++ b/libavformat/psxstr.c
@@ -241,7 +241,7 @@ static int str_read_packet(AVFormatContext *s,
break;
}
- if (url_feof(pb))
+ if (pb->eof_reached)
return AVERROR(EIO);
}
}