mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
try free keep video when allocation fail [2/2]
PD#167377 try free keep video when allocation fail Change-Id: I8c9b8bf412a6f6c26b6443c15f6a27019f08890e
This commit is contained in:
committed by
Dongjin Kim
parent
76c4043ce9
commit
69d9c4ed74
@@ -299,6 +299,7 @@ int decoder_bmmu_box_alloc_idx_wait(
|
||||
ret = decoder_bmmu_box_alloc_idx(handle,
|
||||
idx, size, aligned_2n, mem_flags);
|
||||
} else {
|
||||
try_free_keep_video(1);
|
||||
ret = -ENOMEM;
|
||||
}
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user