sample: check allocation return
sample: check allocation return

BUG=23200382

Change-Id: Ic64f76000d181f169af9aed2f7891f6ed3d28681

zofuthan/libwebm,webmproject/libwebm,webmproject/libwebm,zofuthan/libwebm,webmproject/libwebm,felipebetancur/libwebm,felipebetancur/libwebm