[FFmpeg-devel] [PATCH] amr_decode_fix_avctx should not return value

Michael Niedermayer michaelni at gmx.at
Sat Nov 3 20:58:51 CET 2012


On Sat, Nov 03, 2012 at 06:33:58PM +0800, Xidorn Quan wrote:
> ---
>  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;
>      }

applied, thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121103/0c31b223/attachment.asc>


More information about the ffmpeg-devel mailing list