mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/matroskadec: use AV_WL32A
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
09de979ff6
commit
f1fcc3ca5f
|
@ -4059,9 +4059,9 @@ static int matroska_parse_frame(MatroskaDemuxContext *matroska,
|
||||||
(AVRational){1, 1000000000},
|
(AVRational){1, 1000000000},
|
||||||
(AVRational){1, st->codecpar->sample_rate});
|
(AVRational){1, st->codecpar->sample_rate});
|
||||||
if (discard_padding > 0) {
|
if (discard_padding > 0) {
|
||||||
AV_WL32(side_data + 4, discard_padding);
|
AV_WL32A(side_data + 4, discard_padding);
|
||||||
} else {
|
} else {
|
||||||
AV_WL32(side_data, -discard_padding);
|
AV_WL32A(side_data, -discard_padding);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue