amr_decode_fix_avctx should not return value

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Xidorn Quan 2012-11-03 18:33:58 +08:00 committed by Michael Niedermayer
parent 6450c05ba5
commit 0ecef3a0ef
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ static void amr_decode_fix_avctx(AVCodecContext *avctx)
if (avctx->channels > 1) { if (avctx->channels > 1) {
av_log_missing_feature(avctx, "multi-channel AMR", 0); av_log_missing_feature(avctx, "multi-channel AMR", 0);
return AVERROR_PATCHWELCOME; return;
} }
avctx->channels = 1; avctx->channels = 1;