ffmpeg demux: Simplify
authorRafaël Carré <funman@videolan.org>
Sun, 9 Sep 2007 22:00:05 +0000 (22:00 +0000)
committerRafaël Carré <funman@videolan.org>
Sun, 9 Sep 2007 22:00:05 +0000 (22:00 +0000)
modules/codec/ffmpeg/demux.c

index 7d53400..a783689 100644 (file)
@@ -266,11 +266,7 @@ int E_(OpenDemux)( vlc_object_t *p_this )
             module_Unneed( p_demux, p_meta );
         }
         vlc_object_release( p_input );
-        return VLC_SUCCESS;
     }
-    if( p_input )
-        vlc_object_release( p_input );
-
 
     return VLC_SUCCESS;
 }