1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-07 03:56:28 +02:00

Fix potential segfault.

This commit is contained in:
Jean-Baptiste Kempf 2008-08-01 17:26:22 -07:00
parent e02373b981
commit 33e8266df2

View File

@ -337,6 +337,8 @@ void OpenDialog::stream( bool b_transcode_only )
{
mrl = ui.advancedLineInput->text();
toggleVisible();
QStringList listMRL = SeparateEntries( mrl );
if( listMRL.size() > 0 )
THEDP->streamingDialog( this, SeparateEntries( mrl )[0], b_transcode_only );
}