summaryrefslogtreecommitdiff
path: root/libavcodec/wmaprodec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-06-29 11:37:38 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-06-29 11:47:26 +0200
commit562e8d019ba2205a31cf78808e9c4d633bd158be (patch)
tree6b9207a3db3398917a36b7e328fef3f5e0a4ba88 /libavcodec/wmaprodec.c
parent3e33db3f652e019c18f5b4c5247396dd18f9a15a (diff)
parent6652338f43ef623045912d7f28b61adea05d27ae (diff)
Merge commit '6652338f43ef623045912d7f28b61adea05d27ae'
* commit '6652338f43ef623045912d7f28b61adea05d27ae': wmapro: return early on unsupported condition Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/wmaprodec.c')
-rw-r--r--libavcodec/wmaprodec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c
index 580b7b454b..ce1f851c1b 100644
--- a/libavcodec/wmaprodec.c
+++ b/libavcodec/wmaprodec.c
@@ -726,6 +726,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;