summaryrefslogtreecommitdiff
path: root/libavformat/samidec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/samidec.c')
-rw-r--r--libavformat/samidec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/samidec.c b/libavformat/samidec.c
index 2eaee6f24b..1a12ecad46 100644
--- a/libavformat/samidec.c
+++ b/libavformat/samidec.c
@@ -62,7 +62,7 @@ static int sami_read_header(AVFormatContext *s)
av_bprint_init(&buf, 0, AV_BPRINT_SIZE_UNLIMITED);
av_bprint_init(&hdr_buf, 0, AV_BPRINT_SIZE_UNLIMITED);
- while (!url_feof(s->pb)) {
+ while (!avio_feof(s->pb)) {
AVPacket *sub;
const int64_t pos = avio_tell(s->pb) - (c != 0);
int is_sync, n = ff_smil_extract_next_chunk(s->pb, &buf, &c);