mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 10:22:10 +00:00
vp9_superframe: fix endianness of size markers.
This commit is contained in:
parent
2e6636aa87
commit
abedde65d1
@ -82,13 +82,13 @@ static int merge_superframe(const struct CachedBuf *in, int n_in,
|
|||||||
wloop(mag, *ptr = in[n].size);
|
wloop(mag, *ptr = in[n].size);
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
wloop(mag, AV_WB16(ptr, in[n].size));
|
wloop(mag, AV_WL16(ptr, in[n].size));
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
wloop(mag, AV_WB24(ptr, in[n].size));
|
wloop(mag, AV_WL24(ptr, in[n].size));
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
wloop(mag, AV_WB32(ptr, in[n].size));
|
wloop(mag, AV_WL32(ptr, in[n].size));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
*ptr++ = marker;
|
*ptr++ = marker;
|
||||||
|
Loading…
Reference in New Issue
Block a user