ref: 6a2e9ef20aed3b87259e9491fc76c0b83a76ab3c
parent: ccddd5d0f9a69c7369f9a68c155577e4e0b3afd1
author: James Zern <jzern@google.com>
date: Sat Aug 9 14:35:40 EDT 2014
vpx_codec_decode: check data size When a valid data pointer is given make sure the size is greater than zero. A previous check for vp9 was incorrectly removed in: 7050074 Make the api behavior conform to api spec. No semantics for valid pointers + 0-sized frames are defined for VPx codecs, so move the check to vpx_codec_decode(). This avoids an assert in vp9. + add some basic invalid param testing for decoder init/decode/destroy Change-Id: I99f9cef6076d15874fd72ac973f2685d8a2353c3