Commit e58e24c7 authored by Rémi Duraffort's avatar Rémi Duraffort

taglib: simplify.

parent e230861e
...@@ -582,9 +582,8 @@ static int WriteMeta( vlc_object_t *p_this ) ...@@ -582,9 +582,8 @@ static int WriteMeta( vlc_object_t *p_this )
psz_meta = input_item_Get ## a( p_item ); \ psz_meta = input_item_Get ## a( p_item ); \
if( psz_meta ) \ if( psz_meta ) \
{ \ { \
String* psz_tmp = new String( psz_meta, String::UTF8 ); \ String tmp( psz_meta, String::UTF8 ); \
p_tag->set##b( *psz_tmp ); \ p_tag->set##b( tmp ); \
delete psz_tmp; \
} \ } \
free( psz_meta ); free( psz_meta );
......
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