Commit 9b14f80f authored by Jean-Paul Saman's avatar Jean-Paul Saman

Use NULL iso 0 (is more portable)

parent 32e5b144
......@@ -267,7 +267,8 @@ static inline void es_format_Clean( es_format_t *fmt )
fmt->psz_description = NULL;
if( fmt->i_extra > 0 ) free( fmt->p_extra );
fmt->i_extra = 0; fmt->p_extra = NULL;
fmt->i_extra = 0;
fmt->p_extra = NULL;
if( fmt->video.p_palette ) free( fmt->video.p_palette );
fmt->video.p_palette = NULL;
......@@ -287,5 +288,4 @@ static inline void es_format_Clean( es_format_t *fmt )
free(fmt->p_extra_languages);
}
}
#endif
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