From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 42DD249580 for ; Fri, 12 Jul 2024 17:48:22 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 78E7368DAE2; Fri, 12 Jul 2024 20:48:14 +0300 (EEST) Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2A91568D983 for ; Fri, 12 Jul 2024 20:48:05 +0300 (EEST) Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-595856e2332so2919610a12.1 for ; Fri, 12 Jul 2024 10:48:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720806484; x=1721411284; darn=ffmpeg.org; h=subject:date:from:to:message-id:in-reply-to:from:to:cc:subject:date :message-id:reply-to; bh=HlQkZUJqYE6rirOZwFZfbcKO4MhihFmngshxMr/R0o0=; b=QXQVHbqkqgQp06zvgeLy43R9VF+wdXzhSTRyQryOC4Hv3IyY0z6pExG6GNGSOJAHMv ewl/euQSNpi39mLcbrZ3zx+oLnKL/V5UOHWc27cJVaiYLRxlTMQmnKtMtny6wxksQuvP EI7M8ODa5PxzgB7ofT27U5GQzIp0TUcZwx0+6aJ8JE2cgItPFL/XIwxcIEN8mO+pFNBF 8c6qbytTu1zR6KmKnMtP5PqtEJ+aAj0V57AZJOzhHiHN3fKP4pAYb13Pn8V0E4VJtObi ZXw4hMjylYfprv1GeaLEx8+67JLiOsAM2IIXlRn/W7fvGNs5Ub9Wd3VkAk0StfnS/l5U 6O1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720806484; x=1721411284; h=subject:date:from:to:message-id:in-reply-to:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=HlQkZUJqYE6rirOZwFZfbcKO4MhihFmngshxMr/R0o0=; b=C1m6U84NZrfsk/cTKv+Bf17uCW7p47XX/uVQpO6yJaNDb4/G4FpycC1mFJ9VUgLL5h nKpOoHx2sPFos2t9XIMfMZX6xYQ7TE349+LkaGHTC8mUAJ5If4Qz9aTNl6HCd2K2A5Ep 3h5InESjceG8Q5uowTZO+jlAEyOm1bhwqdGL3tuV9yFMdQPLx75isMcOyKVBPPx/XcgW z5+3JrJFuR2b0xKfKlNoB/LLGfBHq4iPay8l46LRqV/SGDU4dbvf9B8E05YJ6HpiNrHZ AjLP6L3EhDJgaKxGpc4IdLKnuPmKQfUiuh/QI/1ZjU3e6okKYSI0g8s3hnX7FDARJJGV 1mew== X-Gm-Message-State: AOJu0YzPbiqvkisH/m7QKekRhylWelhy6oZta6R8cxGrvgRSEkPGvxBT D5pa+Ys1kJ44Kc4HD0Nkfg9ithyx5yaVxSsQQFfBpRZkTOa6pnCYduh3aA== X-Google-Smtp-Source: AGHT+IEhol0Hb+xxq/isbCsU+xoH4xxiEUKDRtr88VwTIDlthmh2o74dsIDwkg3086rrIXykHgFvaA== X-Received: by 2002:a05:6402:430b:b0:58d:ebf9:4e1b with SMTP id 4fb4d7f45d1cf-594ba98e586mr9522441a12.2.1720806484374; Fri, 12 Jul 2024 10:48:04 -0700 (PDT) Received: from localhost (p200300cccf1e25001072fbc25e6664b9.dip0.t-ipconnect.de. [2003:cc:cf1e:2500:1072:fbc2:5e66:64b9]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-594bd45a1b6sm4753150a12.60.2024.07.12.10.48.03 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Jul 2024 10:48:03 -0700 (PDT) In-Reply-To: Message-Id: To: From: "Marvin Scholz" Date: Fri, 12 Jul 2024 17:47:14 +0200 Subject: [FFmpeg-devel] [PATCH 02/11] avfilter/af_channelsplit: fix mixed declaration and code X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Fix a "mixing declarations and code is incompatible with standards before C99" warning. --- libavfilter/af_channelsplit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavfilter/af_channelsplit.c b/libavfilter/af_channelsplit.c index 43b2667750..b91195a4c6 100644 --- a/libavfilter/af_channelsplit.c +++ b/libavfilter/af_channelsplit.c @@ -151,6 +151,7 @@ static int query_formats(AVFilterContext *ctx) static int filter_frame(AVFilterLink *outlink, AVFrame *buf) { + AVFrame *buf_out; AVFilterContext *ctx = outlink->src; ChannelSplitContext *s = ctx->priv; const int i = FF_OUTLINK_IDX(outlink); @@ -159,7 +160,7 @@ static int filter_frame(AVFilterLink *outlink, AVFrame *buf) av_assert1(channel >= 0); - AVFrame *buf_out = av_frame_clone(buf); + buf_out = av_frame_clone(buf); if (!buf_out) return AVERROR(ENOMEM); -- 2.39.3 (Apple Git-146) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".