Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
256878bc
Commit
256878bc
authored
Oct 21, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
video_output: fix 4 bytes too short memory allocation
parent
77aa5b9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
src/video_output/video_output.c
src/video_output/video_output.c
+1
-5
No files found.
src/video_output/video_output.c
View file @
256878bc
...
...
@@ -1665,12 +1665,8 @@ static void DisplayTitleOnOSD( vout_thread_t *p_vout )
else
if
(
!
EMPTY_STR
(
psz_artist
)
)
{
char
*
psz_string
=
NULL
;
psz_string
=
malloc
(
strlen
(
psz_name
)
+
strlen
(
psz_artist
)
);
if
(
psz_string
)
if
(
asprintf
(
&
psz_string
,
"%s - %s"
,
psz_name
,
psz_artist
)
!=
-
1
)
{
sprintf
(
psz_string
,
"%s - %s"
,
psz_name
,
psz_artist
);
vout_ShowTextAbsolute
(
p_vout
,
DEFAULT_CHAN
,
psz_string
,
NULL
,
p_vout
->
i_title_position
,
...
...
Write
Preview
Markdown
is supported
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