Commit 36db7779 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

cdda: asprintf checks.

parent 932c5181
...@@ -936,7 +936,7 @@ CDDAFixupPlaylist( access_t *p_access, cdda_data_t *p_cdda, ...@@ -936,7 +936,7 @@ CDDAFixupPlaylist( access_t *p_access, cdda_data_t *p_cdda,
t = p_cdda->p_title[i] = vlc_input_title_New(); t = p_cdda->p_title[i] = 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->psz_name = NULL;
t->i_size = i_track_frames * (int64_t) CDIO_CD_FRAMESIZE_RAW; t->i_size = i_track_frames * (int64_t) CDIO_CD_FRAMESIZE_RAW;
......
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