[vlc-devel] commit: cdda: Fix a really right warning. (Pierre d'Herbemont )

git version control git at videolan.org
Sat Jun 14 17:34:34 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jun 14 17:13:51 2008 +0200| [dfef0e4dcc482ae1d8fcaba9845b16607f5c2bf1]

cdda: Fix a really right warning.

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

 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 64d62f5..51c970b 100644
--- a/modules/access/cdda/info.c
+++ b/modules/access/cdda/info.c
@@ -830,7 +830,7 @@ CDDACreatePlaylistItem( const access_t *p_access, cdda_data_t *p_cdda,
                psz_mrl, psz_title, (long int) i_mduration / 1000000 );
 
     p_child = playlist_ItemNew( p_playlist, psz_mrl, psz_title );
-    input_item_SetDuration( input_GetItem( p_child->p_input ),
+    input_item_SetDuration( p_child->p_input,
             (mtime_t) i_mduration );
     free(psz_mrl);
     free(psz_title);




More information about the vlc-devel mailing list