Commit 5b52b399 authored by aurel's avatar aurel

ignore year=0 and track=0

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16452 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 53a6c87b
......@@ -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