diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-12-28 21:47:47 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-12-28 21:48:07 +0000 |
commit | 09401694db35aa986b3fec16bdae429974e1ee36 (patch) | |
tree | ee8a3643d382bcf02e074098984913af31a5b7f6 /libavformat/soxenc.c | |
parent | a4912aa61e101945442d4d842876a0986efbaf73 (diff) | |
download | ffmpeg-09401694db35aa986b3fec16bdae429974e1ee36.tar.gz |
soxenc: use ffio_fill
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/soxenc.c')
-rw-r--r-- | libavformat/soxenc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/soxenc.c b/libavformat/soxenc.c index 9a7a4f41cf..d4d3e3754f 100644 --- a/libavformat/soxenc.c +++ b/libavformat/soxenc.c @@ -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); |