From patchwork Sat Feb 24 07:17:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jeyapal, Karthick" X-Patchwork-Id: 7727 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.150.33 with SMTP id c30csp1542270jai; Fri, 23 Feb 2018 23:17:46 -0800 (PST) X-Google-Smtp-Source: AH8x227yM7Fu2ciPFBkrfiZ5dJuv7QQTqbDASoCCx/PQYcwwtaoeWggTUQUM0AizmAZTUlnyIdP3 X-Received: by 10.223.169.229 with SMTP id b92mr3730947wrd.244.1519456666833; Fri, 23 Feb 2018 23:17:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519456666; cv=none; d=google.com; s=arc-20160816; b=Z1aXwnn1Ch3jJU+EeiK5VNQQpzmYtJHldp94oNdhRYZKD3FSvD1zrBBNIUC76wKAqc iGPqZ2yOabZ+4gA6ftkxoBZyYn5yiwUuAr/km56NZYFQ994ql4TG6IIS3tmVGdU731Ve 8Ei8TNAv4PvUn4BPozUMkyIw95DUG0dfCRZDQWlhQ9ZKmg6e6E4HV7iRO5/RFRbr5bo/ O2yfT3EKV8c6cELzrunskTU910ZCBuTFB6BBUAR7lRdrtnhn8NNej6z3Em1iblI8XT9i tbWgmvFibil0YE8zi3m37XTymqNutQE+1R/y9kH/o9yRSTOMsWCZtcmGS1tXBmuJnCaO EbSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:feedback-id:message-id:date:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=qpLcYVPqhpVGo4bNeRy4hEnDpYu66T+yhjRbXi23RDc=; b=037hGO5O6C0UgsxyOQt1AoEhFJZUSBoiNfRPBNoKSMDiweY8m6RmvRW0xkeuDGzc8c U1E+nnBrQ4XFwBurv3fWYbO6jqB/BiMy61aoURxi+ZfUx3xz5RfoNldg5jlAtuqkNrh1 HosnT8w/EZsJt0TbTHWnK0qIW9vBAVlgXq6wpxezEZXp2Rrx5sXUDGf8T0K9ClA8EHvv KOdqqN4Ri9VOX2WUQg2NN5Dd9UnI9yYi9yYef62gLTuVp/Ldc09mcCdGJey1UylOhqLA N5KLFPAMSr2H2ms1RWS6xsmCPOLb8ypnZUcGNh6yDiAfFZxhpNZBDlnWVDIgKwI3598j v/Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@smtpservice.net header.s=m78bu0.a1-4.dyn header.b=SoAxn+3r; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=akamai.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id h202si2534664wme.236.2018.02.23.23.17.46; Fri, 23 Feb 2018 23:17:46 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@smtpservice.net header.s=m78bu0.a1-4.dyn header.b=SoAxn+3r; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=akamai.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 70EA968A69A; Sat, 24 Feb 2018 09:17:41 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from a2i831.smtp2go.com (a2i831.smtp2go.com [103.47.207.63]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5666268A621 for ; Sat, 24 Feb 2018 09:17:35 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpservice.net; s=m78bu0.a1-4.dyn; x=1519457563; h=Feedback-ID: X-Smtpcorp-Track:Message-Id:Date:Subject:To:From:Reply-To:Sender: List-Unsubscribe; bh=YhehiWaydEjIxO9t78v1AY3+Vj9xsOQOmubH3llqZfM=; b=SoAxn+3r JvovLoyWNJnqPuzeEEiAmJ3gmP6Eep965BsZA37gIxanb/YUdHkU6FkDEakABUM1gXbJpLntHbma0 uPqAX8bKH60PcFeXO/JEJnr0O+C92hX97D8aQ4J9c2x5/slJD+e12J/a7kPcQbHqPimUDI8oIDkqb pgc4uuyEbxfWwIauZM4Hm25J3sEzG0p8A/j0iIiYfvPfiV4+5V7/0LHb/lJT3GU++007OhMoD9F+q W2M6U2nuwpV7oN9KhHzxqR7ihT2K2r4MzKG2wu+YToBvVwinuyhXSFUIbRcaMWXxEH8yEjCPCKF3B 6dOvB/1U9r0cZojtUEMT2VNdPQ==; From: Karthick J To: ffmpeg-devel@ffmpeg.org Date: Sat, 24 Feb 2018 12:47:18 +0530 Message-Id: <1519456638-16409-1-git-send-email-kjeyapal@akamai.com> X-Mailer: git-send-email 1.9.1 X-Smtpcorp-Track: 1-pl5uNmF9zHK5.kVGNzqLyM Feedback-ID: 337386m:337386asVRLGB:337386s9L6YzG84o:SMTPCORP X-Report-Abuse: Please forward a copy of this message, including all headers, to Subject: [FFmpeg-devel] [PATCH] avformat/dashenc: Removed usage of deprecated 'filename' variable X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Karthick Jeyapal MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Karthick Jeyapal --- libavformat/dashenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index d6474f3..ebff3c5 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -1307,7 +1307,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),