swscale: do not forget to swap data in formats with different endianness
authorKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 31 Oct 2012 10:26:32 +0000 (11:26 +0100)
committerDiego Biurrun <diego@biurrun.de>
Wed, 31 Oct 2012 16:53:57 +0000 (17:53 +0100)
commit38fdf7258035eb520ca152e9bea6d95cdfaca424
treeb201aa07daa6818160a208bd6565864916b521fd
parent5707af8d0b9c5a7e8a742a11798e406f99d78cea
swscale: do not forget to swap data in formats with different endianness

Otherwise during scaling it will try to interpret input in the wrong way and
that leads to the test results disagreeing on different platforms and with
different optimizations.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
libswscale/input.c
tests/ref/lavfi/pixfmts_scale