Check the pixelformat during init and fail cleanly if passed an unsupported one.
commit559ec59a879ed373a8d3ef2be43a99b7ee652897
authortterribe <tterribe@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Sat, 25 Feb 2006 22:49:40 +0000 (25 22:49 +0000)
committertterribe <tterribe@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Sat, 25 Feb 2006 22:49:40 +0000 (25 22:49 +0000)
treea8c090b2902fc6ee8db58f3a2e8f7fcc5d75f27a
parent5999f2e68184689913b687ba2d6043aa3c463c09
Check the pixelformat during init and fail cleanly if passed an unsupported one.
Currently only 4:2:0 modes are supported in mainline.

git-svn-id: http://svn.xiph.org/trunk@10957 0101bb08-14d6-0310-b084-bc0e0c8e3800
theora/lib/encoder_toplevel.c