aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarthick Jeyapal <kjeyapal@akamai.com>2018-02-24 12:47:18 +0530
committerKarthick Jeyapal <kjeyapal@akamai.com>2018-02-27 08:40:48 +0530
commite3851f6a3739e84094051d8b9c85732ab12c9fd9 (patch)
tree97d2b9897755d738e69174587740a189db6ebca8
parent6d763ab58811e856517926353ee2920369cf20b4 (diff)
downloadffmpeg-e3851f6a3739e84094051d8b9c85732ab12c9fd9.tar.gz
avformat/dashenc: Removed usage of deprecated 'filename' variable
-rw-r--r--libavformat/dashenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index febe468691..83e0cff728 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -1310,7 +1310,7 @@ static int dash_write_packet(AVFormatContext *s, AVPacket *pkt)
//open the output context when the first frame of a segment is ready
if (!c->single_file && !os->out) {
AVDictionary *opts = NULL;
- const char *proto = avio_find_protocol_name(s->filename);
+ const char *proto = avio_find_protocol_name(s->url);
int use_rename = proto && !strcmp(proto, "file");
os->filename[0] = os->full_path[0] = os->temp_path[0] = '\0';
ff_dash_fill_tmpl_params(os->filename, sizeof(os->filename),