Skip to content

Commit

Permalink
windows dxva2: Suppress a compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Kendall committed Mar 29, 2011
1 parent 95a9b5d commit 96abcda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/dxva2decoder.cpp
Expand Up @@ -136,7 +136,7 @@ DXVA2Decoder::DXVA2Decoder(uint num_bufs, MythCodecID codec_id,
m_context.cfg = &m_config;
m_context.surface_count = num_bufs;
m_context.surface = new IDirect3DSurface9*[num_bufs];
for (int i = 0; i < num_bufs; i++)
for (uint i = 0; i < num_bufs; i++)
m_context.surface[i] = NULL;
}

Expand Down

0 comments on commit 96abcda

Please sign in to comment.