lavfi/signalstats: Cast the return value of AV_RN16() to int.
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Tue, 11 Dec 2018 02:12:49 +0000 (03:12 +0100)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Wed, 12 Dec 2018 22:54:14 +0000 (23:54 +0100)
commit32601fb82117533ed93c67993c1dc0cd872d0360
treeb630dec11f50ed1f2f7a3bbfb3f486cc39381de6
parent83db1efd42bd4d89a5a78bb3001481e009d99304
lavfi/signalstats: Cast the return value of AV_RN16() to int.

It is unsigned at least on arm, fixes the following warnings:
libavfilter/vf_signalstats.c:833:21: warning: taking the absolute value of unsigned type 'unsigned int' has no effect
            dify += abs(yuv - AV_RN16(prev->data[0] + pw + i * 2));
libavfilter/vf_signalstats.c