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 2E5B9485D2 for ; Sat, 6 Jul 2024 11:12:02 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E582668DBCD; Sat, 6 Jul 2024 14:12:00 +0300 (EEST) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AB4B668DB3E for ; Sat, 6 Jul 2024 14:11:53 +0300 (EEST) Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a77e6dd7f72so25242066b.3 for ; Sat, 06 Jul 2024 04:11:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720264313; x=1720869113; darn=ffmpeg.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=NFe+GavQm8Np3bhYp6UI+JOP0Dsu3Ws7y0EZl7cl4RM=; b=E3Ac0Yo7DOBeRg/CLC1zKgGC2EmbtMLDSawCdniN+v7HtdaI9imOET8cy0mryexw+Q DYrPFHaX9H+GSukwJHXeJdtKP/Zjdr0vH+rFb4W+IdbIbwQvA/6jkZstECMUbqhr1wA+ q/6I4anGbz0iDjh/V6OQNNFKUtgqrZJjVCPi0jJcvV7sU0yyYQRvSIpfrFyy/Hht1o5c E4PvZVE6lPUpdK91uC5+gYA2e5T2xGIU+5DEveU8evxCQ7mnzUZmnqgnavfaZ5Bx4mj8 joApdY0TfR7aBYyltMeasIGNyEZDPpok8T6h80hnDD2vKrRvmoo+ShnK5VHEmHBemPUj X3xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720264313; x=1720869113; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NFe+GavQm8Np3bhYp6UI+JOP0Dsu3Ws7y0EZl7cl4RM=; b=k21oVM4brpezsV1/UwZVSlYJeLVcNoy/LuXrK5+TDrY+3cKHnrt+PHkwCVU3yivEE+ Q8GsByvR1TTrkWxS+jcPR1Siwmed6wMC2N2tz1NN9vfCMLtJIvJk4gPz2zXhawCc7SFf uXpoJogq8c0V161eMgZ82/SZ0yWvgHjHuOEzPz7plJxs/M1YAF/A4l3pCUHxPPZ9iLex ZR4wttcF2zbhqHDNw0VyItkpJtLaVPnXlu7V9GATuZU5hl7/F4xh3h7nHZ56tVG1DvOW 2aMr80LOlGq+QiiCQv9aArFxLu7kFXHDlWdfO7BsrXcHFq7hzMd01zy/frrjiiiEvQ3P LRyw== X-Gm-Message-State: AOJu0Yx1vbEw3Ntd2775nshMULxqt9/DBsNWQcdG5psvjJJLP5amXa90 4aBi4KQdllf8P0icbWeNEj4O47C1uGyZ0RuBGkyyETuY+XwrUU8QDjF+8gJ/MJg= X-Google-Smtp-Source: AGHT+IErvOK4wCQQdsvHVBhACuvURBa+aI8wVKfS5/ANtA4u/rr6bKnaMNyLHpO+V4kCcq7Yehy2+A== X-Received: by 2002:a17:906:b894:b0:a72:7ae5:66df with SMTP id a640c23a62f3a-a77ba72c46dmr404098766b.67.1720264312428; Sat, 06 Jul 2024 04:11:52 -0700 (PDT) Received: from mariano (dynamic-adsl-84-220-189-10.clienti.tiscali.it. [84.220.189.10]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a72ab0656a0sm757159066b.113.2024.07.06.04.11.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jul 2024 04:11:52 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id EE62BBFCE8; Sat, 6 Jul 2024 13:11:50 +0200 (CEST) Date: Sat, 6 Jul 2024 13:11:50 +0200 From: Stefano Sabatini To: FFmpeg development discussions and patches Message-ID: Mail-Followup-To: FFmpeg development discussions and patches , Marth64 References: <20240702060329.1309157-1-marth64@proxyid.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240702060329.1309157-1-marth64@proxyid.net> User-Agent: Mutt/2.1.4 (2021-12-11) Subject: Re: [FFmpeg-devel] [PATCH] avformat/dvdvideodec: Remove redundant ret initializations 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 Cc: Marth64 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: On date Tuesday 2024-07-02 01:03:29 -0500, Marth64 wrote: > Remove initializing ret = 0, in areas where ret is > only used to hold an error value, immediately returned, > and the function would otherwise return a literal 0. > > Signed-off-by: Marth64 > --- > libavformat/dvdvideodec.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) LGTM. _______________________________________________ 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".