Commit f3e02ef9 authored by aurel's avatar aurel

apedec: display a warning when truncating a metadata tag

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17394 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9ac1d96c
......@@ -111,6 +111,8 @@ static void ape_tag_read_field(AVFormatContext *s)
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);
}
......
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