aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrystalP <CrystalP@xbmc.org>2012-04-29 14:45:09 -0400
committerCrystalP <CrystalP@xbmc.org>2012-04-29 14:58:04 -0400
commitffc7abd1f6a9c73de84506ac337402d5baf17446 (patch)
treea4368b918cb545489e42b19a4d942b921bfe1179
parent0944dbc8f47bc0661130c60790e2973f5b0b839a (diff)
[WIN] cosmetics for prev. commit
-rw-r--r--xbmc/cores/dvdplayer/DVDCodecs/Video/DXVA.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/DXVA.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/DXVA.cpp
index cafcd648b1..fbc904cf10 100644
--- a/xbmc/cores/dvdplayer/DVDCodecs/Video/DXVA.cpp
+++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/DXVA.cpp
@@ -756,17 +756,17 @@ int CDecoder::Check(AVCodecContext* avctx)
}
else
{
- if(avctx->refs > m_refs)
- {
- CLog::Log(LOGWARNING, "CDecoder::Check - number of required reference frames increased, recreating decoder");
+ if(avctx->refs > m_refs)
+ {
+ CLog::Log(LOGWARNING, "CDecoder::Check - number of required reference frames increased, recreating decoder");
#if ALLOW_ADDING_SURFACES
- if(!OpenDecoder())
- return VC_ERROR;
+ if(!OpenDecoder())
+ return VC_ERROR;
#else
- Close();
- return VC_FLUSHED;
+ Close();
+ return VC_FLUSHED;
#endif
- }
+ }
}
// Status reports are available only for the DXVA2_ModeH264 and DXVA2_ModeVC1 modes