diff options
author | James Almer <jamrial@gmail.com> | 2014-08-07 17:12:41 -0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-08 00:48:38 +0200 |
commit | d34ec64a22907173c13e687b815d94618d2dc85b (patch) | |
tree | d53c26525699660773d9457d65ca980c21823351 /libavformat/flvdec.c | |
parent | 5c3c67126feb046e25359096225507bf6dfe7b27 (diff) | |
download | ffmpeg-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/flvdec.c')
-rw-r--r-- | libavformat/flvdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 72833de0fd..4dc341b171 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -779,7 +779,7 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt) dts = avio_rb24(s->pb); dts |= avio_r8(s->pb) << 24; av_dlog(s, "type:%d, size:%d, dts:%"PRId64" pos:%"PRId64"\n", type, size, dts, avio_tell(s->pb)); - if (url_feof(s->pb)) + if (avio_feof(s->pb)) return AVERROR_EOF; avio_skip(s->pb, 3); /* stream id, always 0 */ flags = 0; |