[FFmpeg-cvslog] avformat/dashenc: Removed usage of deprecated 'filename' variable

Karthick Jeyapal git at videolan.org
Tue Feb 27 06:23:29 EET 2018


ffmpeg | branch: master | Karthick Jeyapal <kjeyapal at akamai.com> | Sat Feb 24 13:05:18 2018 +0530| [e3851f6a3739e84094051d8b9c85732ab12c9fd9] | committer: Karthick Jeyapal

avformat/dashenc: Removed usage of deprecated 'filename' variable

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e3851f6a3739e84094051d8b9c85732ab12c9fd9
---

 libavformat/dashenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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),



More information about the ffmpeg-cvslog mailing list