summaryrefslogtreecommitdiff
path: root/libavformat/seek.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/seek.c')
-rw-r--r--libavformat/seek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/seek.c b/libavformat/seek.c
index 9fee91101c..dd6109b68c 100644
--- a/libavformat/seek.c
+++ b/libavformat/seek.c
@@ -405,7 +405,7 @@ AVParserState *ff_store_parser_state(AVFormatContext *s)
return NULL;
}
- state->fpos = url_ftell(s->pb);
+ state->fpos = avio_tell(s->pb);
// copy context structures
state->cur_st = s->cur_st;