Commit 82381660 authored by Thomas Guillem's avatar Thomas Guillem

input: fix typo in vlc_attachment_New()

parent ac8dbda8
...@@ -196,7 +196,7 @@ static inline input_attachment_t *vlc_input_attachment_New( const char *psz_name ...@@ -196,7 +196,7 @@ static inline input_attachment_t *vlc_input_attachment_New( const char *psz_name
memcpy( a->p_data, p_data, i_data ); memcpy( a->p_data, p_data, i_data );
if( unlikely(a->psz_name == NULL || a->psz_mime == NULL if( unlikely(a->psz_name == NULL || a->psz_mime == NULL
|| a->psz_description || (i_data > 0 && a->p_data == NULL)) ) || a->psz_description == NULL || (i_data > 0 && a->p_data == NULL)) )
{ {
vlc_input_attachment_Delete( a ); vlc_input_attachment_Delete( a );
a = NULL; a = NULL;
......
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