From f3298f12997eb4b7ad203766f768f92e3dd72a2a Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 23 Dec 2012 18:10:05 +0100 Subject: Return proper error code after av_log_ask_for_sample() --- libavcodec/truespeech.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/truespeech.c') diff --git a/libavcodec/truespeech.c b/libavcodec/truespeech.c index 66e3427b78..486e41f895 100644 --- a/libavcodec/truespeech.c +++ b/libavcodec/truespeech.c @@ -65,7 +65,7 @@ static av_cold int truespeech_decode_init(AVCodecContext * avctx) if (avctx->channels != 1) { av_log_ask_for_sample(avctx, "Unsupported channel count: %d\n", avctx->channels); - return AVERROR(EINVAL); + return AVERROR_PATCHWELCOME; } avctx->channel_layout = AV_CH_LAYOUT_MONO; -- cgit v1.2.3