summaryrefslogtreecommitdiff
path: root/libavformat/smjpegdec.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/smjpegdec.c
parent5c3c67126feb046e25359096225507bf6dfe7b27 (diff)
downloadffmpeg-d34ec64a22907173c13e687b815d94618d2dc85b.tar.gz
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/smjpegdec.c')
-rw-r--r--libavformat/smjpegdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/smjpegdec.c b/libavformat/smjpegdec.c
index e4c7a9b890..99ca2ff8c9 100644
--- a/libavformat/smjpegdec.c
+++ b/libavformat/smjpegdec.c
@@ -58,7 +58,7 @@ static int smjpeg_read_header(AVFormatContext *s)
duration = avio_rb32(pb); // in msec
- while (!url_feof(pb)) {
+ while (!avio_feof(pb)) {
htype = avio_rl32(pb);
switch (htype) {
case SMJPEG_TXT:
@@ -141,7 +141,7 @@ static int smjpeg_read_packet(AVFormatContext *s, AVPacket *pkt)
int64_t pos;
int ret;
- if (url_feof(s->pb))
+ if (avio_feof(s->pb))
return AVERROR_EOF;
pos = avio_tell(s->pb);
dtype = avio_rl32(s->pb);