[FFmpeg-cvslog] avformat/matroskadec: use AV_WL32A
James Almer
git at videolan.org
Tue Jul 30 03:33:34 EEST 2024
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Jul 25 23:15:34 2024 -0300| [f1fcc3ca5ff7a8d1bc62d0ea28bc9ed87efa4051] | committer: James Almer
avformat/matroskadec: use AV_WL32A
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f1fcc3ca5ff7a8d1bc62d0ea28bc9ed87efa4051
---
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);
}
}
More information about the ffmpeg-cvslog
mailing list