]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_drawtext.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavfilter / vf_drawtext.c
index 0de5b9f8202a82577173644b3116c2d3e6ffda57..d0d854b9943fb8cd15c119be3405c7609a92c010 100644 (file)
@@ -731,7 +731,7 @@ static int draw_text(AVFilterContext *ctx, AVFilterBufferRef *picref,
 
 #if CONFIG_AVCODEC
     if (dtext->tc.str) {
-        char tcbuf[sizeof("hh:mm:ss.ff")];
+        char tcbuf[16];
         avpriv_timecode_to_string(tcbuf, &dtext->tc, dtext->frame_id++);
         buf = av_asprintf("%s%s", dtext->text, tcbuf);
     }