Mercurial > libavformat.hg
changeset 4521:51119f565c6c libavformat
apedec: display a warning when truncating a metadata tag
author | aurel |
---|---|
date | Tue, 17 Feb 2009 15:44:11 +0000 |
parents | c9ef08e6e4a9 |
children | aaf07b2acb3c |
files | ape.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ape.c Tue Feb 17 12:03:10 2009 +0000 +++ b/ape.c Tue Feb 17 15:44:11 2009 +0000 @@ -111,6 +111,8 @@ get_buffer(pb, value, l); value[l] = 0; url_fskip(pb, size-l); + if (l < size) + av_log(s, AV_LOG_WARNING, "Too long '%s' tag was truncated.\n", key); av_metadata_set(&s->metadata, key, value); }