[vlc-commits] dshow: Remove unused assignment

Hugo Beauzée-Luyssen git at videolan.org
Tue Feb 14 15:30:37 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Feb 14 13:45:38 2017 +0100| [25973c53425c7e818b2b93aeff9f42aba9517ba2] | committer: Hugo Beauzée-Luyssen

dshow: Remove unused assignment

CID #1402779

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=25973c53425c7e818b2b93aeff9f42aba9517ba2
---

 modules/access/dshow/dshow.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/dshow/dshow.cpp b/modules/access/dshow/dshow.cpp
index c084ad4..dbd0f03 100644
--- a/modules/access/dshow/dshow.cpp
+++ b/modules/access/dshow/dshow.cpp
@@ -2246,7 +2246,7 @@ static void ConfigTuner( vlc_object_t *p_this, ICaptureGraphBuilder2 *p_graph,
     hr = p_TV->GetAvailableModes( &l_modes );
     if( SUCCEEDED(hr) && (l_modes & i_amtuner_mode) )
     {
-        hr = p_TV->put_Mode( (AMTunerModeType)i_amtuner_mode );
+        p_TV->put_Mode( (AMTunerModeType)i_amtuner_mode );
     }
 
     if( i_input == 1 ) p_TV->put_InputType( 0, TunerInputCable );



More information about the vlc-commits mailing list