projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9525a59
)
Correct pyramid_mv_arr's memory size
author
Angie Chiang
<angiebird@google.com>
Fri, 11 Jan 2019 06:44:01 +0000
(22:44 -0800)
committer
Angie Chiang
<angiebird@google.com>
Fri, 11 Jan 2019 06:44:01 +0000
(22:44 -0800)
Change-Id: Id99ca6fc846ebe11a9f5363da4e6449e976303a1
vp9/encoder/vp9_encoder.c
patch
|
blob
|
history
diff --git
a/vp9/encoder/vp9_encoder.c
b/vp9/encoder/vp9_encoder.c
index 557e2b009a544b8f5cc253189470c7380d4733a8..11037cd148fdac0d4fa2bd504c2dac45ee15676f 100644
(file)
--- a/
vp9/encoder/vp9_encoder.c
+++ b/
vp9/encoder/vp9_encoder.c
@@
-6476,7
+6476,7
@@
static void init_tpl_buffer(VP9_COMP *cpi) {
CHECK_MEM_ERROR(
cm, cpi->tpl_stats[frame].pyramid_mv_arr[rf_idx][sqr_bsize],
vpx_calloc(
- mi_rows * mi_cols,
+ mi_rows * mi_cols
* 4
,
sizeof(
*cpi->tpl_stats[frame].pyramid_mv_arr[rf_idx][sqr_bsize])));
}