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

git at videolan.org git at videolan.org
Wed Nov 3 20:22:17 CET 2010


vlc/vlc-1.1 | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Oct 31 12:54:28 2010 +0100| [37d495c0c4fa0811af33c605a891edad1439605b] | committer: 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: Rémi Duraffort <ivoire at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=37d495c0c4fa0811af33c605a891edad1439605b
---

 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