diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2016-03-11 14:22:38 -0500 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2016-03-11 14:23:46 -0500 |
commit | abedde65d1ce747f4ed747fa425b28bdcd6666bb (patch) | |
tree | 2221fdb9c253f6bd4ca2e494cecbef5fa85cb944 /libavcodec | |
parent | 2e6636aa87303d37b112e79f093ca39500f92364 (diff) | |
download | ffmpeg-abedde65d1ce747f4ed747fa425b28bdcd6666bb.tar.gz |
vp9_superframe: fix endianness of size markers.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vp9_superframe_bsf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vp9_superframe_bsf.c b/libavcodec/vp9_superframe_bsf.c index f991a800e2..d4a61eea04 100644 --- a/libavcodec/vp9_superframe_bsf.c +++ b/libavcodec/vp9_superframe_bsf.c @@ -82,13 +82,13 @@ static int merge_superframe(const struct CachedBuf *in, int n_in, wloop(mag, *ptr = in[n].size); break; case 1: - wloop(mag, AV_WB16(ptr, in[n].size)); + wloop(mag, AV_WL16(ptr, in[n].size)); break; case 2: - wloop(mag, AV_WB24(ptr, in[n].size)); + wloop(mag, AV_WL24(ptr, in[n].size)); break; case 3: - wloop(mag, AV_WB32(ptr, in[n].size)); + wloop(mag, AV_WL32(ptr, in[n].size)); break; } *ptr++ = marker; |