staging: rpivid: Fix crash when CMA alloc fails
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- If realloc to increase coeff size fails then attempt to re-allocate the original size. If that also fails then flag a fatal error to abort all further decode. Signed-off-by: NJohn Cox <jc@kynesim.co.uk> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录