wmapro: return early on unsupported condition

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 6652338f43)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>

Conflicts:
	libavcodec/wmaprodec.c
This commit is contained in:
Luca Barbato
2013-06-28 05:21:33 +02:00
committed by Reinhard Tartler
parent fbeae4a951
commit 9761abffb6

View File

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