diff options
author | Frank Galligan <fgalligan@google.com> | 2014-12-15 12:00:09 -0800 |
---|---|---|
committer | Frank Galligan <fgalligan@google.com> | 2014-12-15 12:20:37 -0800 |
commit | c4f7079ad4863af830f55453e7a8cc6de0290928 (patch) | |
tree | f918085cb7243709f039bff7f749fb40815bea3a /vp9/encoder/vp9_lookahead.c | |
parent | 8d558f2ca5867828cbf07ef1dce9ad457be7e818 (diff) | |
download | libvpx-c4f7079ad4863af830f55453e7a8cc6de0290928.tar libvpx-c4f7079ad4863af830f55453e7a8cc6de0290928.tar.gz libvpx-c4f7079ad4863af830f55453e7a8cc6de0290928.tar.bz2 libvpx-c4f7079ad4863af830f55453e7a8cc6de0290928.zip |
Revert "Revert "Add support for setting byte alignment.""
This reverts commit 91471d6aad285ff10e7582e485d8adadd1986fe2.
Fixes the compile issues if post_proc is enabled.
Change-Id: Ib40a15ce2c194f9b5adfa65a17ab01ddf60f5a59
Diffstat (limited to 'vp9/encoder/vp9_lookahead.c')
-rw-r--r-- | vp9/encoder/vp9_lookahead.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_lookahead.c b/vp9/encoder/vp9_lookahead.c index 823e7a162..708072ee2 100644 --- a/vp9/encoder/vp9_lookahead.c +++ b/vp9/encoder/vp9_lookahead.c @@ -65,6 +65,7 @@ struct lookahead_ctx *vp9_lookahead_init(unsigned int width, // Allocate the lookahead structures ctx = calloc(1, sizeof(*ctx)); if (ctx) { + const int legacy_byte_alignment = 0; unsigned int i; ctx->max_sz = depth; ctx->buf = calloc(depth, sizeof(*ctx->buf)); @@ -76,7 +77,8 @@ struct lookahead_ctx *vp9_lookahead_init(unsigned int width, #if CONFIG_VP9_HIGHBITDEPTH use_highbitdepth, #endif - VP9_ENC_BORDER_IN_PIXELS)) + VP9_ENC_BORDER_IN_PIXELS, + legacy_byte_alignment)) goto bail; } return ctx; |