Skip to content

Commit

Permalink
Fix Coverity 700410.
Browse files Browse the repository at this point in the history
  • Loading branch information
stichnot committed May 30, 2013
1 parent 64e669b commit 6b4f181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/videoout_vdpau.cpp
Expand Up @@ -1190,7 +1190,7 @@ void VideoOutputVDPAU::RemovePIP(MythPlayer *pipplayer)
if (m_pips[pipplayer].videoSurface && m_render)
m_render->DestroyVideoSurface(m_pips[pipplayer].videoSurface);

if (m_pips[pipplayer].videoMixer)
if (m_pips[pipplayer].videoMixer && m_render)
m_render->DestroyVideoMixer(m_pips[pipplayer].videoMixer);

m_pips.remove(pipplayer);
Expand Down

0 comments on commit 6b4f181

Please sign in to comment.