From 6652338f43ef623045912d7f28b61adea05d27ae Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Fri, 28 Jun 2013 05:21:33 +0200 Subject: [PATCH] wmapro: return early on unsupported condition Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org --- libavcodec/wmaprodec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c index 8fdfbf866f..7ea5dd989b 100644 --- a/libavcodec/wmaprodec.c +++ b/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;