]> granicus.if.org Git - libvpx/commit
VP8D_GET_FRAME_CORRUPTED: check frame pointer
authorJames Zern <jzern@google.com>
Sun, 10 Aug 2014 01:47:58 +0000 (18:47 -0700)
committerJames Zern <jzern@google.com>
Wed, 13 Aug 2014 00:41:47 +0000 (17:41 -0700)
commit7d9da93a973d53c65db8f174b2a70297a9d2a49f
tree56582e7f361ca459331400a11f103db55dbca129
parent6a2e9ef20aed3b87259e9491fc76c0b83a76ab3c
VP8D_GET_FRAME_CORRUPTED: check frame pointer

if the decode of the first frame fails, frame_to_show may not be set.
fixes a crash in vpxdec with corrupt data.

Change-Id: I5ab9476d005778a13fd42a39d05876bb6c90a93c
test/decode_api_test.cc
vp8/vp8_dx_iface.c
vp9/vp9_dx_iface.c