wmapro: return early on unsupported condition

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
This commit is contained in:
Luca Barbato 2013-06-28 05:21:33 +02:00
parent e30b068ef7
commit 6652338f43
1 changed files with 1 additions and 0 deletions

View File

@ -716,6 +716,7 @@ static int decode_channel_transform(WMAProDecodeCtx* s)
if (get_bits1(&s->gb)) {
avpriv_request_sample(s->avctx,
"Unknown channel transform type");
return AVERROR_PATCHWELCOME;
}
} else {
chgroup->transform = 1;