[FFmpeg-cvslog] vp9_superframe: fix endianness of size markers.
Ronald S. Bultje
git at videolan.org
Fri Mar 11 20:42:45 CET 2016
ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Fri Mar 11 14:22:38 2016 -0500| [abedde65d1ce747f4ed747fa425b28bdcd6666bb] | committer: Ronald S. Bultje
vp9_superframe: fix endianness of size markers.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=abedde65d1ce747f4ed747fa425b28bdcd6666bb
---
libavcodec/vp9_superframe_bsf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavcodec/vp9_superframe_bsf.c b/libavcodec/vp9_superframe_bsf.c
index f991a80..d4a61ee 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;
More information about the ffmpeg-cvslog
mailing list