From patchwork Sun Jun 11 14:07:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timo Rothenpieler X-Patchwork-Id: 3913 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.10.195 with SMTP id 186csp512492vsk; Sun, 11 Jun 2017 07:07:53 -0700 (PDT) X-Received: by 10.28.131.213 with SMTP id f204mr5225135wmd.26.1497190073583; Sun, 11 Jun 2017 07:07:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497190073; cv=none; d=google.com; s=arc-20160816; b=nXl1fafNMvU1nufwTY+ijkzQJaIDznh9Ult3e8CjLxXTK21M29iKKmGjA1pIM5SaMD B0UmvtOQQMkPr/zLfUw7tPPT2q09rRXR2/n8zblafPz8YkGTt1N+fQrQAArb5HtyZFWP YRhRpkSMxr9UCsNeXFYkMwBTYZM0tNqrdXyHnSEdTcv5vCTCqWaXI8LOxGCPNiziZ4Fp TJgNs+5aInNRK9tVc0eNd37cWPrWC/yWe16ZyKqJ2f8K4AN20niqsVRvwRpMdeopicTd YEEKup9dPHmXZTaw2mCwsKO9Grd4nL8jAcGved6Mom6KhR8oFbsgPF7hE9sd/rlIF1xj WcDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=TGByFQrIVO+P7OUNLNJoOqKIygqv3jP6oIIw4I0e3/s=; b=zO/WOWj2awNBEg15vsaUhYhmR/3DjLHPxAAsmbfFKGL60xPcMie1Pit6pIINSwIqnz 3BacuTIqyjt6X6MuIDon+RoAvGQ8n9VovAoHen+S18kp/Mt4qNuruV2WnY1RBca3yYSG oDqkOpbPhbGaCSBI3tQxIImM/MdXj7RMhhA1TfpAF+yAqIbErXFdk3EkudNquGqoE6GL g9h08BDBTOZO70MmRD2V77YyV1VDAFfTV/fMgKseVGtO68T5qhXmJFRnixK+SF+Pk60f kcrc4ARPXDpzQYYTeIwvzoqEixiIjmHqZWFmqE2PYU/4QpSL1WcdSCkJMgDWtLVOzDSL vxOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@rothenpieler.org; 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: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id 61si6394639wrm.255.2017.06.11.07.07.53; Sun, 11 Jun 2017 07:07:53 -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; dkim=neutral (body hash did not verify) header.i=@rothenpieler.org; 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 B27E9689DEF; Sun, 11 Jun 2017 17:07:49 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from btbn.de (btbn.de [5.9.118.179]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 15B4E6882A7 for ; Sun, 11 Jun 2017 17:07:43 +0300 (EEST) Received: from localhost.localdomain (unknown [IPv6:2a02:8109:43f:959c:ba97:5aff:fe10:ec69]) by btbn.de (Postfix) with ESMTPSA id 4A7B16A5AD; Sun, 11 Jun 2017 16:07:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rothenpieler.org; s=mail; t=1497190064; bh=L4WOsK6yoHCV0e59nVjcHBDnOVfFqD38QjyIDfyWZdg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=f4FnqJCcUvsGO01Z989811qnvnWy6U29a/SKOFGmiKoAXwSi6xM918D8cUFErQn9c KgQ7plhmEsNykz4F9Wdi0fLvSlZxU28dLyA/ZHp+Ht6VhdU7fb8XjreFxg7eYSJHN3 orDneMZ1iDHkx9K7qNsgc+zaJS7K4UvuV6O628aQ= From: Timo Rothenpieler To: ffmpeg-devel@ffmpeg.org Date: Sun, 11 Jun 2017 16:07:24 +0200 Message-Id: <20170611140725.11936-1-timo@rothenpieler.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170611140551.11844-1-timo@rothenpieler.org> References: <20170611140551.11844-1-timo@rothenpieler.org> Subject: [FFmpeg-devel] [PATCH 10/11] avcodec/h264_parser: zero-initialize H264PredWeightTable X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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: Timo Rothenpieler MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Fixes CID 1404889 --- libavcodec/h264_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index 2564c6c6c3..1a304f318f 100644 --- a/libavcodec/h264_parser.c +++ b/libavcodec/h264_parser.c @@ -155,7 +155,7 @@ found: static int scan_mmco_reset(AVCodecParserContext *s, GetBitContext *gb, void *logctx) { - H264PredWeightTable pwt; + H264PredWeightTable pwt = { 0 }; int slice_type_nos = s->pict_type & 3; H264ParseContext *p = s->priv_data; int list_count, ref_count[2];