Commit 7cfe7d77 authored by Aurelien Jacobs's avatar Aurelien Jacobs

ignore year=0 and track=0

Originally committed as revision 16452 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent aa9a9b7a
......@@ -84,7 +84,7 @@ int av_metadata_set(AVMetadata **pm, AVMetadataTag elem)
#define FILL_METADATA_INT(s, key) { \
char number[10]; \
snprintf(number, sizeof(number), "%d", s->key); \
FILL_METADATA(s, key, number) }
if(s->key) FILL_METADATA(s, key, number) }
void ff_metadata_sync_compat(AVFormatContext *ctx)
{
......
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