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
This commit is contained in:
James Zern 2016-09-01 19:50:04 -07:00
parent d6d3d4ba31
commit 3d253b0c71

View File

@ -743,7 +743,7 @@ static void pick_quickcompress_mode(vpx_codec_alg_priv_t *ctx,
}
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))) {