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

soxenc: use FFALIGN

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 07abf13d
......@@ -51,7 +51,7 @@ static int sox_write_header(AVFormatContext *s)
comment = av_dict_get(s->metadata, "comment", NULL, 0);
if (comment)
comment_len = strlen(comment->value);
comment_size = (comment_len + 7) & ~7;
comment_size = FFALIGN(comment_len, 8);
sox->header_size = SOX_FIXED_HDR + comment_size;
......
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