Merge "examples: use alignment > 1 w/vpx_img_alloc"
This commit is contained in:
commit
282b58006b
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user