vpx_codec_dec_init: check that the iface is a decoder
authorJohn Koleszar <jkoleszar@google.com>
Mon, 21 Mar 2011 15:46:15 +0000 (11:46 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Mon, 21 Mar 2011 16:12:14 +0000 (12:12 -0400)
commit2fced87e75212f43787f7114de5317c35e77a965
treeacad523a137fa40f6af22e7e491d91507c0c219f
parent2cbd9620880a4335aef7e4b6befe1d334893930f
vpx_codec_dec_init: check that the iface is a decoder

Make sure the given interface is actually a decoder interface before
initializing it.

Change-Id: Ie48d737f2956cc2f0891666de5ea87251e96bc49
vpx/src/vpx_decoder.c