[Ffmpeg-devel] [PATCH] fix return statement in xvmcvideo.c

Dominik 'Rathann' Mierzejewski dominik
Sun Oct 8 18:03:19 CEST 2006


Fixes:
xvmcvideo.c: In function ?XVMC_decode_mb?:
xvmcvideo.c:141: warning: ?return? with a value, in function returning void

Regards,
R.

-- 
MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
-------------- next part --------------
--- MPlayer-18574/libavcodec/xvmcvideo.c.lavc	2006-06-03 14:38:18.000000000 +0200
+++ MPlayer-18574/libavcodec/xvmcvideo.c	2006-06-03 15:08:42.000000000 +0200
@@ -136,7 +136,7 @@
 
     if(s->encoding){
         av_log(s->avctx, AV_LOG_ERROR, "XVMC doesn't support encoding!!!\n");
-        return -1;
+        return;
     }
 
    //from MPV_decode_mb(),



More information about the ffmpeg-devel mailing list