Change some initialization to port to C++11

This commit is contained in:
2016-05-05 00:08:10 +01:00
parent 3adb6e659c
commit 52643ff306
6 changed files with 28 additions and 45 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ Bool StreamHandlerLibav::openHandler( String strFilename, Bool bInput )
m_uiHeight = m_cCodecCtx->height;
m_iPixelFormat = PlaYUVerFrame::NO_FMT;
for( Int i = 0; i < PLAYUVER_NUMBER_FORMATS; i++ )
for( Int i = 0; i < PlaYUVerFrame::NUMBER_PEL_FORMATS; i++ )
{
if( g_PlaYUVerPixFmtDescriptorsList[i].ffmpegPelFormat == pix_fmt )
{