]> granicus.if.org Git - libvpx/commitdiff
Fix jenkins unit test failure due to "uninitialised value".
authorhkuang <hkuang@google.com>
Sat, 7 Feb 2015 23:13:45 +0000 (15:13 -0800)
committerhkuang <hkuang@google.com>
Sat, 7 Feb 2015 23:13:45 +0000 (15:13 -0800)
Change-Id: Ief6b526486bc729dcb787358bc0b781f278bdc66

vp9/vp9_dx_iface.c

index d0ca4c481e0c21d770e7613b5272533271061b33..4e0f4e5d366b874b4e5bde0c76ec0e9dac53388b 100644 (file)
@@ -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");