[vlc-devel] commit: Fix typo (Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Aug 14 09:42:37 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at altair.videolan.org> | Thu Aug 14 09:44:03 2008 +0200| [932c5181edcd3906232ffc7609ce85d715dd69a4] | committer: Jean-Baptiste Kempf 

Fix typo

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

 modules/access/cdda/info.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/cdda/info.c b/modules/access/cdda/info.c
index 09bd0cf..67e9b32 100644
--- a/modules/access/cdda/info.c
+++ b/modules/access/cdda/info.c
@@ -904,7 +904,7 @@ CDDAFixupPlaylist( access_t *p_access, cdda_data_t *p_cdda,
         input_title_t *t = p_cdda->p_title[0] = //i_track-i_first_track] =
         vlc_input_title_New();
 
-        if( asprintf( &t->psz_name, _("Track %i"), i_track ) )
+        if( asprintf( &t->psz_name, _("Track %i"), i_track )  == -1 )
             t->psz_name = NULL;
         t->i_size = i_track_frames * (int64_t) CDIO_CD_FRAMESIZE_RAW;
         t->i_length = INT64_C(1000000) * t->i_size / CDDA_FREQUENCY_SAMPLE / 4;




More information about the vlc-devel mailing list