[FFmpeg-devel] [PATCH] amr_decode_fix_avctx should not return value
Xidorn Quan
quanxunzhen at gmail.com
Sat Nov 3 11:33:58 CET 2012
---
libavcodec/libopencore-amr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c
index cbc414c..c5bc3cc 100644
--- a/libavcodec/libopencore-amr.c
+++ b/libavcodec/libopencore-amr.c
@@ -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;
--
1.7.10.2 (Apple Git-33)
More information about the ffmpeg-devel
mailing list