From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 65D2D4F55E for ; Tue, 17 Jun 2025 18:07:01 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 71B5868D6DA; Tue, 17 Jun 2025 21:06:56 +0300 (EEST) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 6F0C668C216 for ; Tue, 17 Jun 2025 21:06:50 +0300 (EEST) Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-234f17910d8so56159595ad.3 for ; Tue, 17 Jun 2025 11:06:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750183608; x=1750788408; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=j8ieApKawcDBfngD87GE5q1AzX8LTlUf3SBeEuWc1JQ=; b=RuU1NXY9chxJ/w7iWbTbxqRi+I7DJO/g2hZ8anufoubtVKWBbDtdL7VOy4iMq+F1QV Z9kYX73yfelCSStgnWuT58ANjFb9GMEz61A5P1OtUIfz6w/5DWNPigWBVfyfi3Apnpnt A/Rel5hh5RS3iK3zx8RfTfUZaI/fAl/Z/J4SQNgDxiSTyylUTCWZDS1ia1z9835W7kWY dgUhfbY0j8azcqevIxy1IyDxyJcgDwGyvWLuyfdwlbXe4poCvqowKNVt7rRWW/atBvmR A+8CbefVhh8AOnMVTzSAFLlGJuavZKBkHMcruCjO0HzB1ejNuhBAPnf6k+vo+iAY3RnZ qi0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750183608; x=1750788408; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=j8ieApKawcDBfngD87GE5q1AzX8LTlUf3SBeEuWc1JQ=; b=qhz2mSU4pMruYIr86R3WkdCtio2kCM+e49PjZM8E6NIZgQEAO4cOvkyJe96WHSxVLO a7BjXJmqjTQFuMgrcxv2BENRh3uJb13ZSTOc1rZjq6U4fT95V+G34qHtpuNe49z9ajI/ hJjY1cAgHuFfdSfWUGoNGBWuAlg3L9O0EosnGoBKRoL3PqjSZa4a3OXUATiw9xSXNwBC zsHcV2mjKiyk3Hg4CvAfqe4Ct+orJ3O0JzpEiY4gs4rdvmU1GSLmUPmLBAGOLwfZ6FUW iEDHI69sLPRMjyWRIT8+wdhPai/9i+PkiXxADAVQqSgU4AuIIi2aPd0Cd3WLaDRghRs/ T1tw== X-Gm-Message-State: AOJu0YxzrefRf7E4QetRyd86t81b6ku0QTVxdO0Q2h6gmgzocsKMb/77 kxbNQAz7zqAdFRtSvu+IQat3J+Gopj2pQ8jbPkyMbv1PpP+CqHLnoANDDAY5ehQ9 X-Gm-Gg: ASbGncvQZyrdgVUun5r1QpjIeheFM8xSmamteltRZdafmsLEG8RVWWCV7/SEjslJdEH 5lWc9YXz5rI3o/Z8JIHE6U2ot0xiVeBtYMIYYB9RemUp/FO27/9nAhJnly1bCNOrpaSHY43OdDJ yRWOE+6AyGGugMzCbZOQIqfS0hgOkzAQ8kEXG6KRVSVvIaPyeOD98f/cYJlzSr6Qgvd3Wh0FJ9j LdBKEGt4jdwqwyQL2YP/ii/sdN9jPwBdnJX7DQ41Zru3MVCkbk7bMgz3GwO/R4mbsWKSejH0YKd h3qew2PTCS4vHIsJzoiLGBnrND4m4nOAopXVyl7xpzvo6UskY8H0qNN9CKVqFefAfvePd1a0sFB c75CDjRq6vxOLSA4Da2f9FBOjXQloSA== X-Google-Smtp-Source: AGHT+IEFZpvKxVuCadKX9WLrShMAxPeVq3iK+L+GBSSkujnzQhgpi85VWZ9ViORP/P3/ZCdifUe/nw== X-Received: by 2002:a17:902:e943:b0:234:f6ba:e68a with SMTP id d9443c01a7336-2366b17b02amr210326755ad.45.1750183608192; Tue, 17 Jun 2025 11:06:48 -0700 (PDT) Received: from localhost.localdomain (c-24-21-21-91.hsd1.wa.comcast.net. [24.21.21.91]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2365d8a183asm83267565ad.53.2025.06.17.11.06.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jun 2025 11:06:47 -0700 (PDT) From: Pavel Roslyy To: ffmpeg-devel@ffmpeg.org Date: Tue, 17 Jun 2025 11:05:55 -0700 Message-ID: <20250617180625.23604-1-roslypav@gmail.com> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] libavcodec/hcadec: fix header parsing after 'comp' section 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: Pavel Roslyy 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: Need to skip 2 more bytes because comp sections are 12 bytes long. Fixes decryption since ciph_type is now being set. Signed-off-by: Pavel Roslyy --- libavcodec/hcadec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/hcadec.c b/libavcodec/hcadec.c index feb3dce3de..7780372cf3 100644 --- a/libavcodec/hcadec.c +++ b/libavcodec/hcadec.c @@ -245,6 +245,7 @@ static int init_hca(AVCodecContext *avctx, const uint8_t *extradata, c->base_band_count = bytestream2_get_byteu(gb); c->stereo_band_count = bytestream2_get_byte (gb); c->bands_per_hfr_group = bytestream2_get_byte (gb); + bytestream2_skipu(gb, 2); } else if (chunk == MKBETAG('d', 'e', 'c', 0)) { bytestream2_skipu(gb, 2); bytestream2_skipu(gb, 1); -- 2.49.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".