projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d60fb4f
)
avformat/rsd: make tag_buf string larger
author
Clément Bœsch
<u@pkh.me>
Fri, 19 Dec 2014 23:17:43 +0000
(
00:17
+0100)
committer
Clément Bœsch
<u@pkh.me>
Fri, 19 Dec 2014 23:17:43 +0000
(
00:17
+0100)
av_get_codec_tag_string() uses more that 1 char for unprintable characters.
libavformat/rsd.c
patch
|
blob
|
history
diff --git
a/libavformat/rsd.c
b/libavformat/rsd.c
index
bb2f3bc
..
1eff5de
100644
(file)
--- a/
libavformat/rsd.c
+++ b/
libavformat/rsd.c
@@
-70,7
+70,7
@@
static int rsd_read_header(AVFormatContext *s)
codec->codec_tag = avio_rl32(pb);
codec->codec_id = ff_codec_get_id(rsd_tags, codec->codec_tag);
if (!codec->codec_id) {
- char tag_buf[
5
];
+ char tag_buf[
32
];
av_get_codec_tag_string(tag_buf, sizeof(tag_buf), codec->codec_tag);
for (i=0; i < FF_ARRAY_ELEMS(rsd_unsupported_tags); i++) {