From 61b769871f049c30122153c3537e1fe0fcfa1208 Mon Sep 17 00:00:00 2001 From: Dominik Mierzejewski Date: Thu, 12 Oct 2006 19:57:47 +0000 Subject: [PATCH] =?UTF-8?q?Fixes:=20xvmcvideo.c:=20In=20function=20?= =?UTF-8?q?=E2=80=98XVMC=5Fdecode=5Fmb=E2=80=99:=20xvmcvideo.c:141:=20warn?= =?UTF-8?q?ing:=20=E2=80=98return=E2=80=99=20with=20a=20value,=20in=20func?= =?UTF-8?q?tion=20returning=20void?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Approved by Ivan. Originally committed as revision 6676 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/xvmcvideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/xvmcvideo.c b/libavcodec/xvmcvideo.c index 6690595485..4a0677f6e5 100644 --- a/libavcodec/xvmcvideo.c +++ b/libavcodec/xvmcvideo.c @@ -138,7 +138,7 @@ const int mb_xy = s->mb_y * s->mb_stride + s->mb_x; if(s->encoding){ av_log(s->avctx, AV_LOG_ERROR, "XVMC doesn't support encoding!!!\n"); - return -1; + return; } //from MPV_decode_mb(),