History

avformat/matroskadec: use AV_WL32A

James Almer committed 2 years ago

Commit f1fcc3c1 parent 09de9791 file · +2 −2Browse files

Showing the changes to libavformat (1 of 1 file). Show all

Unified · Split

libavformat/matroskadec.c+2−2
@@ -4059,9 +4059,9 @@ static int matroska_parse_frame(MatroskaDemuxContext *matroska, · 4058 unmodified lines
4059 (AVRational){1, 1000000000},4059 (AVRational){1, 1000000000},
4060 (AVRational){1, st->codecpar->sample_rate});4060 (AVRational){1, st->codecpar->sample_rate});
4061 if (discard_padding > 0) {4061 if (discard_padding > 0) {
4062 AV_WL32(side_data + 4, discard_padding);4062 AV_WL32A(side_data + 4, discard_padding);
4063 } else {4063 } else {
4064 AV_WL32(side_data, -discard_padding);4064 AV_WL32A(side_data, -discard_padding);
4065 }4065 }
4066 }4066 }
4067 4067

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t