Skip to content

Commit

Permalink
Remove init of vars we don't use (g++ warnings).
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Dec 12, 2012
1 parent 45ecb6f commit ec8b37a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion mythtv/libs/libmythtv/videoout_vdpau.cpp
Expand Up @@ -126,7 +126,6 @@ bool VideoOutputVDPAU::InitRender(void)
QMutexLocker locker(&m_lock);

const QSize size = window.GetDisplayVisibleRect().size();
const QRect rect = QRect(QPoint(0,0), size);
m_render = new MythRenderVDPAU();

if (m_render && m_render->Create(size, m_win))
Expand Down
2 changes: 0 additions & 2 deletions mythtv/libs/libmythui/mythrender_vdpau.cpp
Expand Up @@ -1509,14 +1509,12 @@ void MythRenderVDPAU::ChangeVideoSurfaceOwner(uint id)
void MythRenderVDPAU::Decode(uint id, struct vdpau_render_state *render)
{
CHECK_VIDEO_SURFACES()
VdpDecoder decoder = 0;

{
CHECK_STATUS()
LOCK_DECODE
if (!m_decoders.contains(id))
return;
decoder = m_decoders[id].m_id;
}

INIT_ST
Expand Down

0 comments on commit ec8b37a

Please sign in to comment.