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 2547240E63 for ; Wed, 9 Feb 2022 03:30:43 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E987568B0F1; Wed, 9 Feb 2022 05:29:38 +0200 (EET) Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7FA7468019D for ; Wed, 9 Feb 2022 05:29:29 +0200 (EET) Received: by mail-qv1-f43.google.com with SMTP id k9so826548qvv.9 for ; Tue, 08 Feb 2022 19:29:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MIFicUejfYlSIZZ1hMVx06bcgaqtI0dFCrsliFSKLIg=; b=mfpszVoExp2ZRJnC13svu1RkgVxUHA4MmrPrv3QnbHvh0zgekuUDIdiBkpfvOYgSrz ly4oULFjimiyvTIQ48cJd0l+zt0qbXIOMsYeN0E78N6e5s43v5oa2AmosgH1lGSOS8y2 fi1nDT+OoYXar2fjknspf9tMmkt0pSymyTWft7qWXEAcFf3JB/7Y3fQst5TeEs+D/iMf 11RXPyL34dRvO6kGAxtOrhpVI6nNvHzaV+DwQSYcVfEzK71bcHjH5g5a+kfArr3s5HqH RGC3iD6XMamY4rVcZUt4zHSCSpvRoOq8YcsMWzAuR7a3GqhCzfsMSnltYfOmuKZC1W/r NFvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MIFicUejfYlSIZZ1hMVx06bcgaqtI0dFCrsliFSKLIg=; b=4TZriDuSjkiN6RyXMDEHr9ourQ26sUjIJvGK9dDsa7YqZixuUwVLIyExvRlscE0qS0 I4owtUOxsGoYFwJtSho0mYvbNdJ00ItaZ3tNGgH4QiscgnJWFzdFYiaDH1s2p1nH8BNd aye2JD+9D5b6ZXBF+I4prw81BeRUc0VRmMJwNFAnh+eUFCnkYcbbg3gDdvDKQbq2TR99 0sKlONLWmw9qE5s04JJ0SHShd5R5TenFOe7K0aKz1unfZhUtdT/Gk4NnzeIusQuHTXc6 D5+lX2nxpLe3ImJWqpL1TmoIuXwHFrtogbHpVIrNjb8qgMiLnNq1S1wVwYxmKXGjMBiZ Elmw== X-Gm-Message-State: AOAM533xHLYmOHte1MCN+rXQAWI3Lvrxghaf+1mJTJ6A5cPvaw8096h/ Uvk7T1NYo7JJjHTW0UNgxVLSwrgfUAgZYQ== X-Google-Smtp-Source: ABdhPJxSXOAS4kmqIBEK66rki6Ek2VsSe0z1ishRp9j4CLV8rTOu4GFG7AdCQONfhtYij/QSDDpEAA== X-Received: by 2002:a05:6214:c23:: with SMTP id a3mr270358qvd.52.1644377368102; Tue, 08 Feb 2022 19:29:28 -0800 (PST) Received: from localhost.localdomain ([151.200.235.219]) by smtp.gmail.com with ESMTPSA id o19sm8452524qta.19.2022.02.08.19.29.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 19:29:27 -0800 (PST) From: Scott Theisen To: ffmpeg-devel@ffmpeg.org Date: Tue, 8 Feb 2022 22:28:53 -0500 Message-Id: <20220209032854.565698-8-scott.the.elm@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220209032854.565698-1-scott.the.elm@gmail.com> References: <20220201212056.29712-1-scott.the.elm@gmail.com> <20220209032854.565698-1-scott.the.elm@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v3 7/8] avpriv_find_start_code(): constify pointer parameters 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: Scott Theisen 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: Have the compiler enforce not changing the addresses these parameters point to. No functional change. --- libavcodec/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 68d126acd8..d11d92d21e 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -937,8 +937,8 @@ void ff_thread_report_progress2(AVCodecContext *avctx, int field, int thread, in #endif const uint8_t *avpriv_find_start_code(const uint8_t *av_restrict p, - const uint8_t *end, - uint32_t *av_restrict start_code) + const uint8_t * const end, + uint32_t * const av_restrict start_code) { av_assert0(p <= end); if (p >= end) -- 2.32.0 _______________________________________________ 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".