swresample/dither: check memory allocation
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Wed, 3 Jun 2015 03:17:48 +0000 (23:17 -0400)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 10 Jun 2015 00:13:12 +0000 (02:13 +0200)
commit6d7384bd735b9e75f15af4639a102bdc9bdc2891
treeaf5d37a86bcbea07cdee42cfa7c3df02c11ad6c0
parent9db97584ca5b1664f44f43f18546f78afd4db686
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