wmadec: require block_align to be set.
authorAnton Khirnov <anton@khirnov.net>
Wed, 6 Mar 2013 08:58:00 +0000 (09:58 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 8 Mar 2013 07:12:03 +0000 (08:12 +0100)
commitea1136baafb1fe271cb56c3f4d7bff0267e3c70f
treed5a50db8cdf37776f16e76080625dc4fe2dd3c7f
parent3ba40ebb6cc58753dc3746c718203bb31760deba
wmadec: require block_align to be set.

Avoids an infinite loop in the calling programs with decoder not
consuming any input and not returning output.

CC:libav-stable@libav.org
libavcodec/wmadec.c