[MPlayer-cvslog] r36447 - trunk/libmpcodecs/vd_ffmpeg.c

reimar subversion at mplayerhq.hu
Sun Sep 15 22:45:55 CEST 2013


Author: reimar
Date: Sun Sep 15 22:45:55 2013
New Revision: 36447

Log:
Fix compilation when VDPAU is disabled.

Modified:
   trunk/libmpcodecs/vd_ffmpeg.c

Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	Sun Sep 15 13:34:54 2013	(r36446)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Sun Sep 15 22:45:55 2013	(r36447)
@@ -539,11 +539,13 @@ static void draw_slice(struct AVCodecCon
         mp_msg(MSGT_DECVIDEO, MSGL_FATAL, "BUG in FFmpeg, draw_slice called for VDPAU!\n");
         return;
     }
+#if CONFIG_VDPAU
     if (IMGFMT_IS_VDPAU(mpi->imgfmt)) {
         struct vdpau_render_state *render = mpi->priv;
         vdpau_render_wrapper(s, src, &render->info, render->bitstream_buffers_used, render->bitstream_buffers);
         return;
     }
+#endif
     if (height < 0)
     {
         int i;


More information about the MPlayer-cvslog mailing list