diff options
Diffstat (limited to 'libavformat/vqf.c')
-rw-r--r-- | libavformat/vqf.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libavformat/vqf.c b/libavformat/vqf.c index d1ea0b4115..15e8246432 100644 --- a/libavformat/vqf.c +++ b/libavformat/vqf.c @@ -144,11 +144,7 @@ static int vqf_read_header(AVFormatContext *s) break; case MKTAG('D','S','I','Z'): // size of compressed data { - char buf[8] = {0}; - int size = avio_rb32(s->pb); - - snprintf(buf, sizeof(buf), "%d", size); - av_dict_set(&s->metadata, "size", buf, 0); + av_dict_set_int(&s->metadata, "size", avio_rb32(s->pb), 0); } break; case MKTAG('Y','E','A','R'): // recording date |