]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/xvmcvideo.c
have less functions as inline
[ffmpeg] / libavcodec / xvmcvideo.c
index 66905954857a578586682b9980f48af6d365c40b..ff56ceb3f58b974f931ab5e05d9faf3188f89f38 100644 (file)
 #undef NDEBUG
 #include <assert.h>
 
-#ifdef USE_FASTMEMCPY
-#include "libvo/fastmemcpy.h"
-#endif
-
 #ifdef HAVE_XVMC
 
 //X11 includes are in the xvmc_render.h
@@ -138,7 +134,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(),