ref: 3d253b0c7115843fc588da9add500fccc9a80452
parent: d6d3d4ba316ef09faee56aa203f5921ff2637c46
author: James Zern <[email protected]>
date: Thu Sep 1 15:50:04 EDT 2016
vp8_cx_iface: quiet -Wshorten-64-to-32 warning set_reference_and_update(): use the correct type for flags, vpx_enc_frame_flags_t Change-Id: I257da784537ff18686f6db8665f99af6ea6a86ba
--- a/vp8/vp8_cx_iface.c
+++ b/vp8/vp8_cx_iface.c
@@ -743,7 +743,7 @@
}
static vpx_codec_err_t set_reference_and_update(vpx_codec_alg_priv_t *ctx,
- int flags) {
+ vpx_enc_frame_flags_t flags) {
/* Handle Flags */
if (((flags & VP8_EFLAG_NO_UPD_GF) && (flags & VP8_EFLAG_FORCE_GF)) ||
((flags & VP8_EFLAG_NO_UPD_ARF) && (flags & VP8_EFLAG_FORCE_ARF))) {