ref: 1139f0dbc22d228bc1e295dc76819da6333daa99
parent: 18b66911057dcac1423a2363d9648423e8c6047a
author: Johann <[email protected]>
date: Wed Aug 31 18:38:27 EDT 2016
Define VP8_TEMPORAL_ALT_REF to !CONFIG_REALTIME_ONLY Previously VP8_TEMPORAL_ALT_REF was only defined for non-realtime-only builds. However, its value was checked with #if, not #ifdef. Fixes -Wundef warnings. BUG=webm:1069 Change-Id: If78d8731298f3f0d3662ffa25f973e7adaf67152
--- a/vp8/encoder/onyx_int.h
+++ b/vp8/encoder/onyx_int.h
@@ -55,9 +55,7 @@
#define MV_ZBIN_BOOST 4
#define ZBIN_OQ_MAX 192
-#if !(CONFIG_REALTIME_ONLY)
-#define VP8_TEMPORAL_ALT_REF 1
-#endif
+#define VP8_TEMPORAL_ALT_REF !CONFIG_REALTIME_ONLY
typedef struct {
int kf_indicated;