diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2013-06-28 05:21:33 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-06-28 13:16:00 +0200 |
commit | 6652338f43ef623045912d7f28b61adea05d27ae (patch) | |
tree | fcd18ac44b6b4671594b8bbf2c53bfef53bcec38 /libavcodec | |
parent | e30b068ef79f604ff439418da07f7e2efd01d4ea (diff) | |
download | ffmpeg-6652338f43ef623045912d7f28b61adea05d27ae.tar.gz |
wmapro: return early on unsupported condition
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/wmaprodec.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |