Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
36db7779
Commit
36db7779
authored
Aug 14, 2008
by
Pierre d'Herbemont
Browse files
cdda: asprintf checks.
parent
932c5181
Changes
1
Show whitespace changes
Inline
Side-by-side
modules/access/cdda/info.c
View file @
36db7779
...
...
@@ -936,7 +936,7 @@ CDDAFixupPlaylist( access_t *p_access, cdda_data_t *p_cdda,
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
->
i_size
=
i_track_frames
*
(
int64_t
)
CDIO_CD_FRAMESIZE_RAW
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment