Commit 37d495c0 authored by Laurent Aimar's avatar Laurent Aimar Committed by Rémi Duraffort

Removed invalid assignation while loading cue files.

 It has some random effects depending on the url (including use of
uninitialized pointer).
(cherry picked from commit 131757a0443bac719091c4bedc0ecf2bb2cde2d8)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent 2720ae3f
...@@ -686,7 +686,6 @@ static int OpenVCDImage( vlc_object_t * p_this, const char *psz_dev, ...@@ -686,7 +686,6 @@ static int OpenVCDImage( vlc_object_t * p_this, const char *psz_dev,
char filename[1024]; char filename[1024];
char type[16]; char type[16];
int i_temp = sscanf( line, "FILE \"%1023[^\"]\" %15s", filename, type ); int i_temp = sscanf( line, "FILE \"%1023[^\"]\" %15s", filename, type );
*p_pos = 0;
switch( i_temp ) switch( i_temp )
{ {
case 2: case 2:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment