clean es_format_t on failure
When es_format_Copy fails, some parts of the es_format_t can be already allocated so es_format_Clean has to be called to not leak those.
When es_format_Copy fails, some parts of the es_format_t can be already allocated so es_format_Clean has to be called to not leak those.
VideoLAN code repository instance