From patchwork Tue Feb 1 21:20:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Scott Theisen X-Patchwork-Id: 34044 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6602:2c4e:0:0:0:0 with SMTP id x14csp982928iov; Tue, 1 Feb 2022 13:21:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJwi/Zc3AjGNmql8teoL0fUGCgGg2QNcE5s1RMrHEldBpENNJreyE/1I4/G9tTh5gyVxtGQM X-Received: by 2002:a05:6402:27c8:: with SMTP id c8mr26687263ede.87.1643750480211; Tue, 01 Feb 2022 13:21:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643750480; cv=none; d=google.com; s=arc-20160816; b=TNJcPo0KNVKwqSqgzLMba5Za7NbOK7fVeQtfcxChkl8b10vpuIRbO0H1lvQvkpIWRv Bsed11GbLSJpmcRTfVd0AV/4Qk9l3wNJpnL9ssKTGGjeBrXIIMR5Cc5uqX7IB+/Va/A4 05vCP/Vm2xwzk5vtdQ5x+pyCwOrK8a+sDf45QTSI79EXRwCfg+ytp8VyKcjTE7ffGEOK 1nG+C+boiVii6ydKQydZCj+vZdd4zW0BTE4hDH58p9vwzjTot+kl0kprGIUnN0pCYIza Uz8NjIji4FnbES4ewHPgHOHiRvTE1qdqACDza6MKJ4WwvHgMusVo3g8iBhN9VYbwdgFG mgog== 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:message-id:date:to:from :dkim-signature:delivered-to; bh=8zJP1ZWRlTJXxY6MqpWIL1vzCiATLEtOCeCSARhb/F4=; b=HcBBFgWCvdwgQ04bO9mCtR3U4GUba1Gu0KHq7RV7qgx4vROWC087k1fmfuhcFQAQZY IYqInvojqxkHZgOI5ozOU+seKNDyrt3rPRetnaMnwNYbb+HmX5R1a8vql5m+plra6+y5 0crbTjJcB+dLGAml1jt4bGbh4Axtszo7FsnGn/9BKaP1MknDazwYueMGAxKVdOH0ZMDm Kagj+quJTRu1hkJjtVG7uBb9kkeIsGas2eSZEiYF+ms7T5WoSox+C9fOT469Ek3rk71E ZOlpuMp5qK7Wv7eGJ7+fMux8Wr/RL1veHyFESYR3xXFdQzRIGQQyTRXGEMevnNZS+umJ q44g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=ZSFYNw0l; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id h20si12269355edb.598.2022.02.01.13.21.16; Tue, 01 Feb 2022 13:21:20 -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=@gmail.com header.s=20210112 header.b=ZSFYNw0l; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3CC2E68AF5A; Tue, 1 Feb 2022 23:21:14 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B099A688180 for ; Tue, 1 Feb 2022 23:21:07 +0200 (EET) Received: by mail-qk1-f169.google.com with SMTP id 200so16404293qki.2 for ; Tue, 01 Feb 2022 13:21:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=q6FGflYZJ6dnWvxqb5z8FqV2TbIDknNT+FPvfG97jqQ=; b=ZSFYNw0lXIIgQwialh2g1+s/mvzXluIPRNISmDdmvTprMs/v9bOk3455/Y8hmcRA0P Kbrzmzw0Qy82SJGc8CblBB4PPDRbylR8j6mp9DqbFxkpIBc25FduIXqhR4n1BADl2NLL atA0rYQKpd/5FZpI2FPu2UHOddCK5akf/xO28ltw7hDja3dvTzm4VXae/mcWlhBMZ6vI iaEtRXlG3jwMe++nzZaqjU/x0B10pNT5zLhdokoI2gMDwWq7dqxBXMTFoIqKQAcQp2zl EhPhKv1ZcZqF+WV7LHzZUc6fhpTq2n5p+WmfY+kTac4uUjEXkZ+E7YrAmvnEHAa9U/Vu m76g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=q6FGflYZJ6dnWvxqb5z8FqV2TbIDknNT+FPvfG97jqQ=; b=nuelrTia4FoYF7djHzLZvm+/qQw7fEipLPM4T5VR6AtnCoJfjDdc0ptKSe/+FDgK8P /hXMcqVhwuvDv5Jx86eSH5fkYVQLTSoNj54jtXu5ctGl57KrXy+x6lfQK31zte0dik7Q DAbaqnm1DLtqaqJF5/+safDjaQcIgV7NV0E2lQOwnFDfVebG73uXkD2mbn1q2cPqz3qs QJqMaEfUmxL7ZN7Zq4uRG9C+NenNlEc6qE/pVavv5IOT8Q7uvVb+M80ioMCNCQzHyPLI mBh+ZTQLPJPO5XTunn+s4YMnhjgYyFyzYfL81Uh0gWbosTI0Aka02vgKPkak2et3m84i Wr/w== X-Gm-Message-State: AOAM5332noafDgEO3E0+77iT0TMpTABmeIvtbIpe+mgnXavecH6ITfuK RY3rxL6V/9tFyWuEkDcSwkGpuK/VbaN1BA== X-Received: by 2002:a05:620a:1789:: with SMTP id ay9mr17638883qkb.283.1643750466126; Tue, 01 Feb 2022 13:21:06 -0800 (PST) Received: from localhost.localdomain ([151.200.235.219]) by smtp.gmail.com with ESMTPSA id ay18sm2928225qkb.8.2022.02.01.13.21.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 13:21:05 -0800 (PST) From: Scott Theisen To: ffmpeg-devel@ffmpeg.org Date: Tue, 1 Feb 2022 16:20:48 -0500 Message-Id: <20220201212056.29712-1-scott.the.elm@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 0/8] rewrite avpriv_find_start_code() for clarity 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: san3k8Tx2dOl I am endeavoring to reduce MythTV’s downstream changes to FFmpeg. avpriv_find_start_code() is one of the internal FFmpeg functions that MythTV uses. I was planning on copying it into MythTV to eventually eliminate all uses of internal FFmpeg headers; however, what avpriv_find_start_code() actually does was not very clear. Therefore, I rewrote it and added comments to make its purpose and effects clearer.