Re: [FFmpeg-devel] [PATCH] dstdec: big-endian compatiblity

2019-01-06 Thread Carl Eugen Hoyos
2019-01-06 23:55 GMT+01:00, Peter Ross : > On Sun, Jan 06, 2019 at 12:57:37PM +0100, Carl Eugen Hoyos wrote: >> 2019-01-06 12:12 GMT+01:00, Peter Ross : >> > for the '127-bit shift left' algorithm to work as intended, >> > little-endian >> > reads and writes must be used. >> > >> Why not using AV_W

Re: [FFmpeg-devel] [PATCH] dstdec: big-endian compatiblity

2019-01-06 Thread Peter Ross
On Sun, Jan 06, 2019 at 12:57:37PM +0100, Carl Eugen Hoyos wrote: > 2019-01-06 12:12 GMT+01:00, Peter Ross : > > for the '127-bit shift left' algorithm to work as intended, little-endian > > reads and writes must be used. > > > Why not using AV_WL64() and and AV_RL64()? good question. > Is there

Re: [FFmpeg-devel] [PATCH] dstdec: big-endian compatiblity

2019-01-06 Thread Carl Eugen Hoyos
2019-01-06 12:12 GMT+01:00, Peter Ross : > for the '127-bit shift left' algorithm to work as intended, little-endian > reads and writes must be used. > > libavcodec/dstdec.c | 11 +-- > 1 file changed, 9 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/dstdec.c b/libavcodec/dstdec