forked from FFmpeg/FFmpeg
ignore year=0 and track=0
Originally committed as revision 16452 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
aa9a9b7af7
commit
7cfe7d77a4
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ int av_metadata_set(AVMetadata **pm, AVMetadataTag elem)
|
||||||
#define FILL_METADATA_INT(s, key) { \
|
#define FILL_METADATA_INT(s, key) { \
|
||||||
char number[10]; \
|
char number[10]; \
|
||||||
snprintf(number, sizeof(number), "%d", s->key); \
|
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)
|
void ff_metadata_sync_compat(AVFormatContext *ctx)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue