ignore year=0 and track=0

Originally committed as revision 16452 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Aurelien Jacobs 2009-01-06 12:56:21 +00:00
parent aa9a9b7af7
commit 7cfe7d77a4
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{