ignore year=0 and track=0

Originally committed as revision 16452 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Aurelien Jacobs 16 years ago
parent aa9a9b7af7
commit 7cfe7d77a4
  1. 2
      libavformat/metadata.c

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

Loading…
Cancel
Save