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 C79544AFBA for ; Fri, 26 Jul 2024 02:15:50 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7A38A68D7FF; Fri, 26 Jul 2024 05:15:37 +0300 (EEST) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0FFFC68D767 for ; Fri, 26 Jul 2024 05:15:26 +0300 (EEST) Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1fed72d23a7so1561475ad.1 for ; Thu, 25 Jul 2024 19:15:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721960124; x=1722564924; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=7oPJoECoa+8Pm7E8tLO5sUn5k4JmDjtkSaKNP7JJrhE=; b=jImz6Pvyp27C5iZwDt2+JVfZBCtVpF/Sd+QdLg8qPu2SriP5wIPQUaPBKXGo4aNhJf rRUx0pfDCM/JaWKBXdRW+/JDQGr2h9atEHc2XPdi0uTBUm3vSZyIOSdz28gC0p0Sr7q7 1knyXlHM0YWRstrLrA/EPiFKKtd8CfIIGizEhXSBGucdDLPbPgbTwRixXfrrVOBjObki SDhnYwStCYELOQbqc3kcm7k2KtGuuc61z1DBDmNaqUysZ95Arz+l9OZcM/czYppBieyK 1MUo4p1T60Pjk7lsbPZXcuSxqg/irmF4e8yHeQOsyrjkTsi8BKF+PQ41Koo89Tu6v9fZ WXUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721960124; x=1722564924; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7oPJoECoa+8Pm7E8tLO5sUn5k4JmDjtkSaKNP7JJrhE=; b=ZadmeeImxgw4+3lWsJoi8lKriG1cdhMlmO8Mz+BLmRVT/fQ1bc5J+zCx0NolyGJt8c 4fh/j+51O6XLJ5uJSckFiYVGSYdJw95u8fZxdGUy/OP9fQu1laxGcIFGQ46R7KfXswIl vQaLL+M9Z9xEPMFNbzMZ1MDPaLi06aoNqpEBw5Pw3eqo5AbAPmyHxfu3mBEXkzm8PK7u w4R2Mw76t9NOO1c0BobXQLUprWmnZwMHLmSDq8pWUzwiDdvhLKK109V1FakRp8+uMosS rk3gyTUp1XzJLxjVTh4x6OLOmbNFbm9wygPTegrjHM3aDvM1kEtNpohA9i4fHNilU/Bp 9Azw== X-Gm-Message-State: AOJu0YwTfsNV0UhM4FPgwTdBXF9eUQSDipqrJn9R+k4ImqDXcaDcGHEH XJli9uJ3ZcCJD/rIL6t+UoSYio2yoF9eL+sTYRu0H39pWSnBSRkm4Z6Yxw== X-Google-Smtp-Source: AGHT+IFY2C6WHqjzh6tGYhLvDylI2Sk82i7ectcZjaVVDOC32lnpM1YGZOJDlnnYlcJPsLCeEOS2BA== X-Received: by 2002:a17:902:d506:b0:1fd:8bed:664b with SMTP id d9443c01a7336-1fed928be64mr43034335ad.39.1721960123848; Thu, 25 Jul 2024 19:15:23 -0700 (PDT) Received: from localhost.localdomain ([190.194.167.233]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fed7ce6869sm21077715ad.78.2024.07.25.19.15.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jul 2024 19:15:23 -0700 (PDT) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Thu, 25 Jul 2024 23:15:34 -0300 Message-ID: <20240726021535.6354-3-jamrial@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240726021535.6354-1-jamrial@gmail.com> References: <20240726021535.6354-1-jamrial@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 3/4] avformat/matroskadec: use AV_WL32A 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 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: Signed-off-by: James Almer --- libavformat/matroskadec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index aa28a37da4..c8741ff2af 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -4059,9 +4059,9 @@ static int matroska_parse_frame(MatroskaDemuxContext *matroska, (AVRational){1, 1000000000}, (AVRational){1, st->codecpar->sample_rate}); if (discard_padding > 0) { - AV_WL32(side_data + 4, discard_padding); + AV_WL32A(side_data + 4, discard_padding); } else { - AV_WL32(side_data, -discard_padding); + AV_WL32A(side_data, -discard_padding); } } -- 2.45.2 _______________________________________________ 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".