Commit 6ce4a635 authored by Paras Chadha's avatar Paras Chadha Committed by James Almer

avformat/fitsenc: fill header line with spaces

Signed-off-by: 's avatarParas Chadha <paraschadha18@gmail.com>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 9669c05b
......@@ -58,7 +58,7 @@ static int write_keyword_value(AVFormatContext *s, const char *keyword, int valu
header[9] = ' ';
ret = snprintf(header + 10, 70, "%d", value);
header[ret + 10] = ' ';
memset(&header[ret + 10], ' ', sizeof(header) - (ret + 10));
avio_write(s->pb, header, sizeof(header));
*lines_written += 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment