From 8f47c8446881b116b86721abb36af3bcb8159def Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Thu, 17 Apr 2003 19:01:23 +0000 Subject: cleanup patch by Marco Z|hlke CVS patchset: 4632 CVS date: 2003/04/17 19:01:23 --- src/xine-engine/load_plugins.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/load_plugins.c') diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 67832359b..cd96eb4b0 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: load_plugins.c,v 1.146 2003/04/13 16:08:26 tmattern Exp $ + * $Id: load_plugins.c,v 1.147 2003/04/17 19:01:23 miguelfreitas Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -1157,6 +1157,9 @@ demux_plugin_t *find_demux_plugin_last_probe(xine_stream_t *stream, const char * i++; } + if( !last_demux ) + return NULL; + stream->content_detection_method = METHOD_BY_CONTENT; if ((plugin = ((demux_class_t *)last_demux->plugin_class)->open_plugin(last_demux->plugin_class, stream, input))) { -- cgit v1.2.3