mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-14 19:31:24 +00:00
soxenc: use ffio_fill
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
a4912aa61e
commit
09401694db
@ -77,8 +77,7 @@ static int sox_write_header(AVFormatContext *s)
|
||||
if (comment_len)
|
||||
avio_write(pb, comment->value, comment_len);
|
||||
|
||||
for ( ; comment_size > comment_len; comment_len++)
|
||||
avio_w8(pb, 0);
|
||||
ffio_fill(pb, 0, comment_size - comment_len);
|
||||
|
||||
avio_flush(pb);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user