summaryrefslogtreecommitdiff
path: root/vp8_scalable_patterns.c
diff options
context:
space:
mode:
Diffstat (limited to 'vp8_scalable_patterns.c')
-rw-r--r--vp8_scalable_patterns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8_scalable_patterns.c b/vp8_scalable_patterns.c
index 4311b1a04..f3464aa7c 100644
--- a/vp8_scalable_patterns.c
+++ b/vp8_scalable_patterns.c
@@ -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));