diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2013-06-28 05:21:33 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2013-07-06 10:06:11 +0200 |
commit | 46e09894acb229fe80691900e3f17edceedfd52b (patch) | |
tree | 9089bb4117d14a78210a0d7f8ea516d4b29b656f | |
parent | 4e1999ebcb67436e7a2937248c0bd43ba548e7f4 (diff) | |
download | ffmpeg-46e09894acb229fe80691900e3f17edceedfd52b.tar.gz |
wmapro: return early on unsupported condition
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 6652338f43ef623045912d7f28b61adea05d27ae)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Conflicts:
libavcodec/wmaprodec.c
-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 78984d905b..49a02a83c8 100644 --- a/libavcodec/wmaprodec.c +++ b/libavcodec/wmaprodec.c @@ -720,6 +720,7 @@ static int decode_channel_transform(WMAProDecodeCtx* s) if (get_bits1(&s->gb)) { av_log_ask_for_sample(s->avctx, "unsupported channel transform type\n"); + return AVERROR_PATCHWELCOME; } } else { chgroup->transform = 1; |