summaryrefslogtreecommitdiff
path: root/examples/encoder_tmpl.c
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2010-05-20 23:22:39 -0400
committerJohn Koleszar <jkoleszar@google.com>2010-05-21 09:19:13 -0400
commit6cd4a10e167203d1deb79abf60ee72599e97891b (patch)
treebfb30469de608e34c381a418cab0f63797a0ce1e /examples/encoder_tmpl.c
parent1df0314e7b55b96ec56dd47baac68d06deff5491 (diff)
downloadlibvpx-6cd4a10e167203d1deb79abf60ee72599e97891b.tar
libvpx-6cd4a10e167203d1deb79abf60ee72599e97891b.tar.gz
libvpx-6cd4a10e167203d1deb79abf60ee72599e97891b.tar.bz2
libvpx-6cd4a10e167203d1deb79abf60ee72599e97891b.zip
Put img_fmt in the vpx namespace
Avoid an potential name clashes and match other external types. s/IMG_FMT/VPX_$&/g s/img_fmt/vpx_$&/g Change-Id: Ia7ad5bbb6424416b37e71e5f5eb1eca31c3c707f
Diffstat (limited to 'examples/encoder_tmpl.c')
-rw-r--r--examples/encoder_tmpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/encoder_tmpl.c b/examples/encoder_tmpl.c
index 38aa6642f..c301767f7 100644
--- a/examples/encoder_tmpl.c
+++ b/examples/encoder_tmpl.c
@@ -127,7 +127,7 @@ int main(int argc, char **argv) {
height = strtol(argv[2], NULL, 0);
if(width < 16 || width%2 || height <16 || height%2)
die("Invalid resolution: %ldx%ld", width, height);
- if(!vpx_img_alloc(&raw, IMG_FMT_YV12, width, height, 1))
+ if(!vpx_img_alloc(&raw, VPX_IMG_FMT_YV12, width, height, 1))
die("Faile to allocate image", width, height);
if(!(outfile = fopen(argv[4], "wb")))
die("Failed to open %s for writing", argv[4]);