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
d90fad27
Commit
d90fad27
authored
Apr 02, 2004
by
Laurent Aimar
Browse files
* vlc_es.h: AAAHHH I HATE C++, else said: I need to cast malloc.
parent
4359eb91
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/vlc_es.h
View file @
d90fad27
...
...
@@ -203,7 +203,7 @@ static inline void es_format_Copy( es_format_t *dst, es_format_t *src )
if
(
src
->
video
.
p_palette
)
{
dst
->
video
.
p_palette
=
malloc
(
sizeof
(
video_palette_t
)
);
dst
->
video
.
p_palette
=
(
video_palette_t
*
)
malloc
(
sizeof
(
video_palette_t
)
);
memcpy
(
dst
->
video
.
p_palette
,
src
->
video
.
p_palette
,
sizeof
(
video_palette_t
)
);
}
}
...
...
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