summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2017-12-29 23:30:14 +0100
committerMarton Balint <cus@passwd.hu>2018-01-28 23:06:43 +0100
commit18ac64235939c4c5c7656546a9545f68339affbe (patch)
tree53d6aab3edafd9bd621558415b63546ca0c5674e /libavformat/utils.c
parent45ec2e44be911da073b02ae3a14e3cb08ce0a1f5 (diff)
avformat: migrate to AVFormatContext->url
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 74e615f86e..0d722c69c8 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2061,7 +2061,7 @@ void ff_configure_buffers_for_index(AVFormatContext *s, int64_t time_tolerance)
int64_t pos_delta = 0;
int64_t skip = 0;
//We could use URLProtocol flags here but as many user applications do not use URLProtocols this would be unreliable
- const char *proto = avio_find_protocol_name(s->filename);
+ const char *proto = avio_find_protocol_name(s->url);
if (!proto) {
av_log(s, AV_LOG_INFO,