mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avformat/fitsenc: fill header line with spaces
Signed-off-by: Paras Chadha <paraschadha18@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
9669c05baf
commit
6ce4a635ed
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user