Commit 282b5800 authored by John Koleszar's avatar John Koleszar Committed by Gerrit Code Review

Merge "examples: use alignment > 1 w/vpx_img_alloc"

parents 51fe9168 1e1799c9
......@@ -156,7 +156,7 @@ int main(int argc, char **argv) {
if (argc != 8+mode_to_num_layers[layering_mode])
die ("Invalid number of arguments");
if (!vpx_img_alloc (&raw, VPX_IMG_FMT_I420, width, height, 1))
if (!vpx_img_alloc (&raw, VPX_IMG_FMT_I420, width, height, 32))
die ("Failed to allocate image", width, height);
printf("Using %s\n",vpx_codec_iface_name(interface));
......@@ -2437,7 +2437,7 @@ int main(int argc, const char **argv_)
input.use_i420 ? VPX_IMG_FMT_I420
input.w, input.h, 1);
input.w, input.h, 32);
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