1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avformat/matroskadec: use AV_WL32A

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2024-07-25 23:15:34 -03:00
parent 09de979ff6
commit f1fcc3ca5f

View File

@ -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);
}
}