]> git.sesse.net Git - vlc/commitdiff
More coding style fixes.
authorSteinar Gunderson <sgunderson@bigfoot.com>
Fri, 24 Sep 2010 18:57:13 +0000 (20:57 +0200)
committerSteinar Gunderson <sgunderson@bigfoot.com>
Fri, 24 Sep 2010 18:57:13 +0000 (20:57 +0200)
modules/access/sdi.cpp

index c6080646ab7b0bcfec4e3c9572747f2263d227e2..6ecdd0adcbe0ab4183d314d496aff43bacef44a1 100644 (file)
@@ -86,9 +86,9 @@ HRESULT DeckLinkCaptureDelegate::VideoInputFrameArrived(IDeckLinkVideoInputFrame
 {
     demux_sys_t *p_sys = p_demux_->p_sys;
 
-    if(videoFrame)
+    if( videoFrame )
     {
-        if(videoFrame->GetFlags() & bmdFrameHasNoInputSource)
+        if( videoFrame->GetFlags() & bmdFrameHasNoInputSource )
         {
             msg_Warn( p_demux_, "No input signal detected" );
             return S_OK;
@@ -169,7 +169,7 @@ static int Open( vlc_object_t *p_this )
         return VLC_EGENERIC;
     }
 
-    if( p_sys->p_card->QueryInterface(IID_IDeckLinkInput, (void**)&p_sys->p_input) != S_OK )
+    if( p_sys->p_card->QueryInterface( IID_IDeckLinkInput, (void**)&p_sys->p_input) != S_OK )
     {
         msg_Err( p_demux, "Card has no inputs" );
         return VLC_EGENERIC;
@@ -178,7 +178,7 @@ static int Open( vlc_object_t *p_this )
     p_sys->p_delegate = new DeckLinkCaptureDelegate( p_demux );
     p_sys->p_input->SetCallback( p_sys->p_delegate );
 
-    result = p_sys->p_input->EnableVideoInput(bmdModePAL, bmdFormat8BitYUV, 0);
+    result = p_sys->p_input->EnableVideoInput( bmdModePAL, bmdFormat8BitYUV, 0 );
     if( result != S_OK )
     {
         msg_Err( p_demux, "Failed to enable video input" );