wmadec: require block_align to be set.
authorAnton Khirnov <anton@khirnov.net>
Wed, 6 Mar 2013 08:58:00 +0000 (09:58 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sat, 9 Mar 2013 17:54:28 +0000 (18:54 +0100)
commitb527dd30e9461b57dff17afe6c8738c3f20d2cb7
treee5d5fbe99ea482dc4243890c4a73ce652ac63e01
parent9b79a05289d91d1184455d12e6c4df457f0657c4
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
(cherry picked from commit ea1136baafb1fe271cb56c3f4d7bff0267e3c70f)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit c1f479e8df24284237c80ad959619fc85e29a26d)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/wmadec.c