amr_decode_fix_avctx should not return value

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/6/merge
Xidorn Quan 12 years ago committed by Michael Niedermayer
parent 6450c05ba5
commit 0ecef3a0ef
  1. 2
      libavcodec/libopencore-amr.c

@ -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;

Loading…
Cancel
Save