From 717addecad77d85d329a4b502f4098d4912679d7 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 9 Oct 2012 00:41:34 +0200 Subject: Use proper return values in case of missing features --- libavcodec/wmaprodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/wmaprodec.c') diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c index 1c9c6671e4..50f85e2938 100644 --- a/libavcodec/wmaprodec.c +++ b/libavcodec/wmaprodec.c @@ -314,7 +314,7 @@ static av_cold int decode_init(AVCodecContext *avctx) bits = ff_wma_get_frame_len_bits(avctx->sample_rate, 3, s->decode_flags); if (bits > WMAPRO_BLOCK_MAX_BITS) { av_log_missing_feature(avctx, "14-bits block sizes", 1); - return AVERROR_INVALIDDATA; + return AVERROR_PATCHWELCOME; } s->samples_per_frame = 1 << bits; -- cgit v1.2.3