ttadec: check channel count as read from extradata.
authorShitiz Garg <mail@dragooon.net>
Sat, 10 Dec 2011 19:40:57 +0000 (01:10 +0530)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sat, 10 Dec 2011 19:54:19 +0000 (14:54 -0500)
commit8bd1f1a4c8e591e92e7f4933a89fe5de72e5563f
treee0014e5f15e44fda71bbadd66b5dc0e04d6d1f00
parent7d18d17abd9dadca1d717a7ace76bd611b7a289c
ttadec: check channel count as read from extradata.

fixes floating-point exception due to channels being set to 0.
fixes Bug 128.

Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
libavcodec/tta.c