Commit 09401694 authored by Paul B Mahol's avatar Paul B Mahol

soxenc: use ffio_fill

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent a4912aa6
......@@ -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);
......
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