Message ID | 20240726021535.6354-3-jamrial@gmail.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,1/4] avutil/intreadwrite: add missing aligned read/write macros | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
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); } }
Signed-off-by: James Almer <jamrial@gmail.com> --- libavformat/matroskadec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)