[mpp_service]: Enlarge offset request buffer cnt

NOTE: realloc may change the buffer base. This will invalid the pointer
which point to the old buffer base.
This issue will make 4 tile H.265 encoding with multi osd generate
error stream.

Change-Id: I764ee9b2097687ae9d5f2bcc8d2ff5987a636844
Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
This commit is contained in:
sayon.chen
2022-10-09 18:28:57 +08:00
committed by Herman Chen
parent 9b860cd250
commit 1f8ec3b78d
2 changed files with 5 additions and 1 deletions

View File

@@ -20,7 +20,7 @@
#include "mpp_device.h"
#include "mpp_service.h"
#define MAX_REG_OFFSET 32
#define MAX_REG_OFFSET 64
#define MAX_RCB_OFFSET 32
#define MAX_INFO_COUNT 16