Permalink
Browse files

fix win32 build after c5645ec, replace macro with plain code to avoid…

… including "system.h"
  • Loading branch information...
1 parent 96c8dc6 commit 4f196ae8db11c65ebf03636652f75bdd87f69017 @pieh pieh committed Nov 13, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 xbmc/cores/dvdplayer/DVDCodecs/Overlay/DVDOverlayImage.h
@@ -88,7 +88,12 @@ class CDVDOverlayImage : public CDVDOverlay
t += linesize;
}
- SAFE_RELEASE(m_overlay);
+ // replacement for SAFE_RELEASE(m_overlay) to avoid including "system.h"
+ if (m_overlay)
+ {
+ m_overlay->Release();
+ m_overlay = NULL;
+ }
}
~CDVDOverlayImage()

0 comments on commit 4f196ae

Please sign in to comment.