From 6652338f43ef623045912d7f28b61adea05d27ae Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Fri, 28 Jun 2013 05:21:33 +0200 Subject: 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(+) (limited to 'libavcodec/wmaprodec.c') 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; -- cgit v1.2.3