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
This commit is contained in:
Johann 2016-08-31 22:38:27 -07:00
parent 18b6691105
commit 1139f0dbc2

View File

@ -55,9 +55,7 @@ extern "C" {
#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;