fixed, uninit var compiler warning
authorS. Davilla <davilla@4pi.com>
Sat, 5 Oct 2013 15:22:00 +0000 (11:22 -0400)
committerS. Davilla <davilla@4pi.com>
Sat, 5 Oct 2013 15:22:17 +0000 (11:22 -0400)
xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecAndroidMediaCodec.cpp

index 2447bbb..942c272 100644 (file)
@@ -720,7 +720,7 @@ int CDVDVideoCodecAndroidMediaCodec::GetOutputPicture(void)
         uint8_t *src_ptr = (uint8_t*)xbmc_jnienv()->GetDirectBufferAddress(m_output[index].get_raw());
         src_ptr += offset;
 
-        int loop_end;
+        int loop_end = 0;
         if (m_videobuffer.format == RENDER_FMT_YUV420P)
           loop_end = 3;
         else if (m_videobuffer.format == RENDER_FMT_NV12)