From 735ff50b6c2051577807f8e302fe429ab76b5607 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Fri, 7 Feb 2014 22:51:49 +0000 Subject: [PATCH] Fix switch without default --- source/PlaYUVerFrame.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/PlaYUVerFrame.cpp b/source/PlaYUVerFrame.cpp index e358111..7f93389 100755 --- a/source/PlaYUVerFrame.cpp +++ b/source/PlaYUVerFrame.cpp @@ -201,7 +201,10 @@ UInt64 PlaYUVerFrame::getBytesPerFrame() case RGB: return m_uiWidth * m_uiHeight * 3; break; + default: + return 0; } + return 0; } } // NAMESPACE