ref: 1fbe0c761591b96511fcdb6cf0a5ce5c86e21bd0
parent: dcb29c14063e37d9a54d27c637e7b21577c092aa
parent: 02941b0df2c669a669aa23b328e7f103e164e0fe
author: Deb Mukherjee <[email protected]>
date: Tue Dec 2 09:03:55 EST 2014
Merge "Fix a warning related to VPX_EFLAG_FORCE_KF check"
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -3642,7 +3642,7 @@
// non-zero spatial layer, it should not be an intra picture.
// TODO(Won Kap): this needs to change if per-layer intra frame is
// allowed.
- if ((source->flags | VPX_EFLAG_FORCE_KF) && cpi->svc.spatial_layer_id) {
+ if ((source->flags & VPX_EFLAG_FORCE_KF) && cpi->svc.spatial_layer_id) {
source->flags &= ~(unsigned int)(VPX_EFLAG_FORCE_KF);
}