From 67b61c7aceca1fa84685c7378505e37f63904ea7 Mon Sep 17 00:00:00 2001 From: hkuang Date: Sat, 7 Feb 2015 15:13:45 -0800 Subject: [PATCH] Fix jenkins unit test failure due to "uninitialised value". Change-Id: Ief6b526486bc729dcb787358bc0b781f278bdc66 --- vp9/vp9_dx_iface.c | 1 + 1 file changed, 1 insertion(+) diff --git a/vp9/vp9_dx_iface.c b/vp9/vp9_dx_iface.c index d0ca4c481..4e0f4e5d3 100644 --- a/vp9/vp9_dx_iface.c +++ b/vp9/vp9_dx_iface.c @@ -404,6 +404,7 @@ static vpx_codec_err_t init_decoder(vpx_codec_alg_priv_t *ctx) { frame_worker_data->scratch_buffer = NULL; frame_worker_data->scratch_buffer_size = 0; frame_worker_data->frame_context_ready = 0; + frame_worker_data->received_frame = 0; #if CONFIG_MULTITHREAD if (pthread_mutex_init(&frame_worker_data->stats_mutex, NULL)) { set_error_detail(ctx, "Failed to allocate frame_worker_data mutex"); -- 2.40.0