Message ID | 20230517102029.541-24-anton@khirnov.net |
---|---|
State | Accepted |
Commit | 4fbc699ac3c9ab69b4c5474145593c809e0286f8 |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:ba91:b0:105:feb:71f2 with SMTP id fb17csp1079727pzb; Wed, 17 May 2023 03:24:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5poVoY1OXS+WZUooxzjjEkzfUoxefCuOYtPJu9boq/sJxp6go8ZGql+9GMO7MBIul4GfrY X-Received: by 2002:a17:907:961d:b0:966:6056:a7c1 with SMTP id gb29-20020a170907961d00b009666056a7c1mr35260225ejc.74.1684319083531; Wed, 17 May 2023 03:24:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684319083; cv=none; d=google.com; s=arc-20160816; b=h6rsEm1EoAt5VXiwdUY/Z1nB2vG7sz8LHYK7dqdYx8sCnDMxha/cbuwgYXlnOOlfQJ CSjSMoITmKFrCvemXu5hYLkSChr6LZ0AKE4xls27wM/UAQu0R4lXEnumBdGnmFQk3+nv AZzvDEkixlMKT20zVJ5I1y7+BrhRv1esb01oeLpgz3VlE/DtTsaGYg9jqZ8DsfiFAzNK HfgO0FvrTWwuW7BEGDXMPuYLPgINy5ijK0uzzyi07XYMhjSNyLCrmBsozQC0wNSCcje5 feQPIP0gw07TWkQDLG1kU2rIyboFZIa/o6nmIl2wm4ozPp/JEIdg09odiQtakFVWHAGf voUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:delivered-to; bh=CIlAwTKMSf3B1VKiXLf06Ho3zdTNynqoQQkWOSkD7aY=; b=INrhWeFpR8FtRt++exVpopUs+sOc9rLaNJE4EvQW5TD8nLVBSiUPBF9mQVfU19EaLV KFe9ET4ukZCxYEGh/yf/Xh5zQtT5DzD+tJuwF9y9jcfPju/fVqJ7z/EPrChtrsJHQAQh xu4DWu4fsNhTfXiOoNe94qxNceG7XqubuFnpKtlW/SVSi7i5RE+JxlCxRy3yFMr0SHBb lUwSSJdl6Cq+dAF66z9OPtc/N+u6Mxu4dnUlnzRGYW9zd06U7VqgTNU83UIGVE/IexM2 hAXVhVbwx9CKwe0vS58orIKUlt7tuNoASJqf3rwDHSlLrLHL/SVhjN2ty86ntqXRVIZS ilnA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id ju23-20020a17090798b700b0096628b28a04si14963423ejc.780.2023.05.17.03.24.43; Wed, 17 May 2023 03:24:43 -0700 (PDT) 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; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9825068C112; Wed, 17 May 2023 13:21:18 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A3D6768C158 for <ffmpeg-devel@ffmpeg.org>; Wed, 17 May 2023 13:20:53 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 6B5B82404EC for <ffmpeg-devel@ffmpeg.org>; Wed, 17 May 2023 12:20:52 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id P-G4GVmVI2U8 for <ffmpeg-devel@ffmpeg.org>; Wed, 17 May 2023 12:20:52 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id 2CFA92406CF for <ffmpeg-devel@ffmpeg.org>; Wed, 17 May 2023 12:20:46 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 785EC3A1F51 for <ffmpeg-devel@ffmpeg.org>; Wed, 17 May 2023 12:20:40 +0200 (CEST) From: Anton Khirnov <anton@khirnov.net> To: ffmpeg-devel@ffmpeg.org Date: Wed, 17 May 2023 12:20:17 +0200 Message-Id: <20230517102029.541-24-anton@khirnov.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230517102029.541-1-anton@khirnov.net> References: <20230517102029.541-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 24/36] fftools/ffmpeg: replace an unreachable return with av_assert0(0) X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: mO4IJkvQXIgq |
Series |
[FFmpeg-devel,01/36] fftools/ffmpeg: shorten a variable name
|
expand
|
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | fail | Make fate failed |
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 62620bacce..1fcabd123a 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -1390,8 +1390,7 @@ static int process_input_packet(InputStream *ist, const AVPacket *pkt, int no_eo ret = AVERROR_EOF; av_packet_unref(avpkt); break; - default: - return -1; + default: av_assert0(0); } if (ret == AVERROR_EOF) {