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