projects
/
libvpx
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89da176
)
Fix VS build issue.
author
Paul Wilkins
<paulwilkins@google.com>
Mon, 8 Sep 2014 22:27:33 +0000
(15:27 -0700)
committer
Paul Wilkins
<paulwilkins@google.com>
Mon, 8 Sep 2014 22:29:33 +0000
(15:29 -0700)
Compile fails when CONFIG_INTERNAL_STATS
flag is set.
Change-Id: Iba7701c058169ca3fc0b9008619ac55a1fe1a8b6
vp9/encoder/vp9_encoder.c
patch
|
blob
|
history
diff --git
a/vp9/encoder/vp9_encoder.c
b/vp9/encoder/vp9_encoder.c
index 2ca91b977c687b075b87ad1875f25869a1217ced..b6e606d780805d1eac7d4f34994c26862352dbb7 100644
(file)
--- a/
vp9/encoder/vp9_encoder.c
+++ b/
vp9/encoder/vp9_encoder.c
@@
-2233,9
+2233,11
@@
static void encode_frame_to_data_rate(VP9_COMP *cpi,
#endif
#if CONFIG_INTERNAL_STATS
- int i;
- for (i = 0; i < MAX_MODES; ++i)
- cpi->mode_chosen_counts[i] = 0;
+ {
+ int i;
+ for (i = 0; i < MAX_MODES; ++i)
+ cpi->mode_chosen_counts[i] = 0;
+ }
#endif
vp9_set_speed_features(cpi);