Index: source/libvpx/vp9/encoder/vp9_lookahead.c |
=================================================================== |
--- source/libvpx/vp9/encoder/vp9_lookahead.c (revision 293588) |
+++ source/libvpx/vp9/encoder/vp9_lookahead.c (working copy) |
@@ -65,6 +65,7 @@ |
// 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 @@ |
#if CONFIG_VP9_HIGHBITDEPTH |
use_highbitdepth, |
#endif |
- VP9_ENC_BORDER_IN_PIXELS)) |
+ VP9_ENC_BORDER_IN_PIXELS, |
+ legacy_byte_alignment)) |
goto bail; |
} |
return ctx; |