MdeModulePkg BrotliLib: Rename function with the specific lib name
This change is to avoid the function conflict.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
(cherry picked from commit 792ace0ac3
)
This commit is contained in:
@ -56,7 +56,7 @@ BrotliDecoderState* BrotliDecoderCreateInstance(
|
||||
brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque) {
|
||||
BrotliDecoderState* state = 0;
|
||||
if (!alloc_func && !free_func) {
|
||||
state = (BrotliDecoderState*)malloc(sizeof(BrotliDecoderState));
|
||||
state = (BrotliDecoderState*)BrDummyMalloc(sizeof(BrotliDecoderState));
|
||||
} else if (alloc_func && free_func) {
|
||||
state = (BrotliDecoderState*)alloc_func(opaque, sizeof(BrotliDecoderState));
|
||||
}
|
||||
|
Reference in New Issue
Block a user