projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce09f92
)
apedec: display a warning when truncating a metadata tag
author
Aurelien Jacobs
<aurel@gnuage.org>
Tue, 17 Feb 2009 15:44:11 +0000
(15:44 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Tue, 17 Feb 2009 15:44:11 +0000
(15:44 +0000)
Originally committed as revision 17394 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/ape.c
patch
|
blob
|
history
diff --git
a/libavformat/ape.c
b/libavformat/ape.c
index
6a57d9c
..
fac9678
100644
(file)
--- a/
libavformat/ape.c
+++ b/
libavformat/ape.c
@@
-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);
}