allow dimensions as low as 1 pixel
authorPascal Massimino <pascal.massimino@gmail.com>
Wed, 24 Nov 2010 08:22:59 +0000 (00:22 -0800)
committerPascal Massimino <pascal.massimino@gmail.com>
Thu, 25 Nov 2010 00:44:33 +0000 (16:44 -0800)
commitfd9f9dc0547ae55bf729a92ac5fc4ba9a259f197
tree5ff7cb644203dabdb3342040ca562aa17ae45061
parent19e32ac7c7df70d5525d22bda784e5373fb9c705
allow dimensions as low as 1 pixel

remove warning comment in vpxenc.c: in case of 1x1 picture,
detect_bytes will be equal to '3' and we'll fall back to
RAW_TYPE.
fix read_frame() by tracking the pre-read buffer length
in the struct detect

Change-Id: If1ed86ee5260dcdbc8f9d10da6cbb84a4cc2f151
vp8/vp8_cx_iface.c
vpxenc.c