Commit aa4867fe authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix es_format_Copy prototype

parent 5bfcf59d
...@@ -239,7 +239,7 @@ static inline void es_format_Init( es_format_t *fmt, ...@@ -239,7 +239,7 @@ static inline void es_format_Init( es_format_t *fmt,
fmt->p_extra = NULL; fmt->p_extra = NULL;
} }
static inline void es_format_Copy( es_format_t *dst, es_format_t *src ) static inline int es_format_Copy( es_format_t *dst, const es_format_t *src )
{ {
int i; int i;
memcpy( dst, src, sizeof( es_format_t ) ); memcpy( dst, src, sizeof( es_format_t ) );
...@@ -284,6 +284,7 @@ static inline void es_format_Copy( es_format_t *dst, es_format_t *src ) ...@@ -284,6 +284,7 @@ static inline void es_format_Copy( es_format_t *dst, es_format_t *src )
else else
dst->p_extra_languages[i].psz_description = NULL; dst->p_extra_languages[i].psz_description = NULL;
} }
return VLC_SUCCESS;
} }
static inline void es_format_Clean( es_format_t *fmt ) static inline void es_format_Clean( es_format_t *fmt )
......
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