wmapro: return early on unsupported condition

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
pull/26/head
Luca Barbato 12 years ago
parent e30b068ef7
commit 6652338f43
  1. 1
      libavcodec/wmaprodec.c

@ -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;

Loading…
Cancel
Save