diff options
author | Clément Bœsch <u@pkh.me> | 2014-12-20 00:17:21 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2014-12-20 00:17:21 +0100 |
commit | d60fb4f7946272d2ef39703762b54c5f3a1b5789 (patch) | |
tree | 3c02ffebc28e3f2998fe29d4604136621f69e4c2 /libavformat | |
parent | 83b0fe395bbd343a3a3f3076dfd7d7acf38ad398 (diff) | |
download | ffmpeg-d60fb4f7946272d2ef39703762b54c5f3a1b5789.tar.gz |
avformat/apngdec: make tag_buf string larger
av_get_codec_tag_string() uses more that 1 char for unprintable characters.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/apngdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/apngdec.c b/libavformat/apngdec.c index d97b015a79..5e7a4a1150 100644 --- a/libavformat/apngdec.c +++ b/libavformat/apngdec.c @@ -404,7 +404,7 @@ static int apng_read_packet(AVFormatContext *s, AVPacket *pkt) return 0; default: { - char tag_buf[5]; + char tag_buf[32]; av_get_codec_tag_string(tag_buf, sizeof(tag_buf), tag); avpriv_request_sample(s, "In-stream tag=%s (0x%08X) len=%"PRIu32, tag_buf, tag, len); |