avformat/adxdec: check avctx->channels for invalid values
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Wed, 25 Feb 2015 21:55:44 +0000 (22:55 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 26 Feb 2015 11:25:29 +0000 (12:25 +0100)
commit7faa40af982960608b117e20fec999b48011e5e0
treec4e32be3da045f76b94851c9bc7b2eaecaeb8ae4
parent64ea4a0598e7ca61b95cf6c93fd409151a448001
avformat/adxdec: check avctx->channels for invalid values

This avoids a null pointer dereference of pkt->data.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/adxdec.c