Changeset 36db7779d3f5748b1ec2adb82d62e0cfdb254aac
- Timestamp:
- 14/08/08 12:51:53
(4 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1218711113 +0200
- git-parent:
[932c5181edcd3906232ffc7609ce85d715dd69a4]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1218711113 +0200
- Message:
cdda: asprintf checks.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r932c518 |
r36db777 |
|
| 905 | 905 | vlc_input_title_New(); |
|---|
| 906 | 906 | |
|---|
| 907 | | if( asprintf( &t->psz_name, _("Track %i"), i_track ) == -1 ) |
|---|
| | 907 | if( asprintf( &t->psz_name, _("Track %i"), i_track ) == -1 ) |
|---|
| 908 | 908 | t->psz_name = NULL; |
|---|
| 909 | 909 | t->i_size = i_track_frames * (int64_t) CDIO_CD_FRAMESIZE_RAW; |
|---|
| … | … | |
| 937 | 937 | t = p_cdda->p_title[i] = vlc_input_title_New(); |
|---|
| 938 | 938 | |
|---|
| 939 | | if( asprintf( &t->psz_name, _("Track %i"), i_track ) ) |
|---|
| | 939 | if( asprintf( &t->psz_name, _("Track %i"), i_track ) == -1 ) |
|---|
| 940 | 940 | t->psz_name = NULL; |
|---|
| 941 | 941 | t->i_size = i_track_frames * (int64_t) CDIO_CD_FRAMESIZE_RAW; |
|---|