1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

View File

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