[FFmpeg-cvslog] amr_decode_fix_avctx should not return value

Xidorn Quan git at videolan.org
Sat Nov 3 21:39:43 CET 2012


ffmpeg | branch: master | Xidorn Quan <quanxunzhen at gmail.com> | Sat Nov  3 18:33:58 2012 +0800| [0ecef3a0eff80ba4414fb3984c5d96119575e156] | committer: Michael Niedermayer

amr_decode_fix_avctx should not return value

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0ecef3a0eff80ba4414fb3984c5d96119575e156
---

 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;



More information about the ffmpeg-cvslog mailing list