Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 6f6f539

Browse files
daijhDuan, Xiande
authored andcommitted
Disable I420BufferPool zero initialization for performance improvement
in h264 decoder Signed-off-by: jdai12 <[email protected]> Change-Id: If1386d932d68974bfa39521102d2be83951bad89 Reviewed-on: https://git-ccr-1.devtools.intel.com/gerrit/56529 Reviewed-by: Duan, Xiande <[email protected]> Tested-by: Duan, Xiande <[email protected]>
1 parent 51cf897 commit 6f6f539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ void H264DecoderImpl::AVFreeBuffer2(void* opaque, uint8_t* data) {
176176
delete video_frame;
177177
}
178178

179-
H264DecoderImpl::H264DecoderImpl() : pool_(true),
179+
H264DecoderImpl::H264DecoderImpl() : pool_(false),
180180
decoded_image_callback_(nullptr),
181181
has_reported_init_(false),
182182
has_reported_error_(false) {

0 commit comments

Comments
 (0)