Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

quell compiler warning if compiling without libva, vdpau or darwin

  • Loading branch information...
commit 25e3e3eae452e0b820bf1ba5c5a0e7ef2767da7d 1 parent 64af508
spiff authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
View
2  xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
@@ -597,7 +597,9 @@ void CLinuxRendererGL::Flush()
void CLinuxRendererGL::ReleaseBuffer(int idx)
{
+#if defined(HAVE_LIBVDPAU) || defined(HAVE_LIBVA) || defined(TARGET_DARWIN)
YUVBUFFER &buf = m_buffers[idx];
+#endif
#ifdef HAVE_LIBVDPAU
SAFE_RELEASE(buf.vdpau);
#endif
Please sign in to comment.
Something went wrong with that request. Please try again.