[vlc-commits] commit: Removed invalid assignation while loading cue files. ( Laurent Aimar )

git at videolan.org git at videolan.org
Sun Oct 31 13:05:29 CET 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Oct 31 12:54:28 2010 +0100| [131757a0443bac719091c4bedc0ecf2bb2cde2d8] | committer: Laurent Aimar 

Removed invalid assignation while loading cue files.

 It has some random effects depending on the url (including use of
uninitialized pointer).

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

 modules/access/vcd/cdrom.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/modules/access/vcd/cdrom.c b/modules/access/vcd/cdrom.c
index e9c97cc..3f260a2 100644
--- a/modules/access/vcd/cdrom.c
+++ b/modules/access/vcd/cdrom.c
@@ -686,7 +686,6 @@ static int OpenVCDImage( vlc_object_t * p_this, const char *psz_dev,
         char filename[1024];
         char type[16];
         int i_temp = sscanf( line, "FILE \"%1023[^\"]\" %15s", filename, type );
-        *p_pos = 0;
         switch( i_temp )
         {
             case 2:



More information about the vlc-commits mailing list