Mercurial > mplayer.hg
changeset 36351:8c3f3493301e
Fix compilation when VDPAU is disabled.
author | reimar |
---|---|
date | Sun, 15 Sep 2013 20:45:55 +0000 |
parents | 44ab9f9a4f42 |
children | d637c5e698f0 |
files | libmpcodecs/vd_ffmpeg.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Sun Sep 15 11:34:54 2013 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Sun Sep 15 20:45:55 2013 +0000 @@ -539,11 +539,13 @@ 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;