swresample/dither: check memory allocation
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Wed, 3 Jun 2015 03:17:48 +0000 (23:17 -0400)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 28 Jul 2015 00:33:56 +0000 (02:33 +0200)
commit3dc303a05192b2a7863b4ce4df10646b501ebe4e
treeaa29c4ce6464d94c8f642c2813262acd73567606
parent42c54f8f4dd9b43dcb9cfc484b9f5ce82d1a812e
swresample/dither: check memory allocation

check memory allocation in swri_get_dither()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 196b885a5f0aa3ca022c1fa99509f47341239784)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/dither.c
libswresample/swresample.c
libswresample/swresample_internal.h