summaryrefslogtreecommitdiff
path: root/libavformat/pjsdec.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-08-07 17:12:41 -0300
committerMichael Niedermayer <michaelni@gmx.at>2014-08-08 00:48:38 +0200
commitd34ec64a22907173c13e687b815d94618d2dc85b (patch)
treed53c26525699660773d9457d65ca980c21823351 /libavformat/pjsdec.c
parent5c3c67126feb046e25359096225507bf6dfe7b27 (diff)
replace calls to url_feof() with avio_feof()
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/pjsdec.c')
-rw-r--r--libavformat/pjsdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/pjsdec.c b/libavformat/pjsdec.c
index 6f5db37886..5129b70e5f 100644
--- a/libavformat/pjsdec.c
+++ b/libavformat/pjsdec.c
@@ -73,7 +73,7 @@ static int pjs_read_header(AVFormatContext *s)
st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE;
st->codec->codec_id = AV_CODEC_ID_PJS;
- while (!url_feof(s->pb)) {
+ while (!avio_feof(s->pb)) {
char line[4096];
char *p = line;
const int64_t pos = avio_tell(s->pb);