X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=video_encoder.cpp;h=6344b8c6a04a89e0fe6e9e312999a2ad449ab93f;hb=6ffaabac0a523617b686f40c154a25cb548cc561;hp=2ce5580fec3f456d33a1ed81f5fdf015b3c02ad2;hpb=8d846a0cf80b24e9189389b1d0e126a0a717c86d;p=nageru diff --git a/video_encoder.cpp b/video_encoder.cpp index 2ce5580..6344b8c 100644 --- a/video_encoder.cpp +++ b/video_encoder.cpp @@ -34,7 +34,7 @@ string generate_local_dump_filename(int frame) tm now_tm; localtime_r(&now, &now_tm); - char timestamp[256]; + char timestamp[64]; strftime(timestamp, sizeof(timestamp), "%F-%T%z", &now_tm); // Use the frame number to disambiguate between two cuts starting