From 8caa5c2d30601130dbbbd3f1a0b1dbcc79fc4343 Mon Sep 17 00:00:00 2001 From: Yaowu Xu Date: Thu, 27 May 2010 10:04:36 -0700 Subject: [PATCH] Increase the size of output packet list This is to accommodate output packets for both compressed data and psnr stats. For each frame, there are at least one packet for compressed data and one for psnr stats. For a max lag of 25, 64 is large enough to cover all lagged frames at the end of encoding. Change-Id: If20787fbc86f96e1aa16a3ccf2adc93e6c1e3d5f --- vp8/vp8_cx_iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp8/vp8_cx_iface.c b/vp8/vp8_cx_iface.c index 5883abd..16ad678 100644 --- a/vp8/vp8_cx_iface.c +++ b/vp8/vp8_cx_iface.c @@ -81,7 +81,7 @@ struct vpx_codec_alg_priv vpx_image_t preview_img; unsigned int next_frame_flag; vp8_postproc_cfg_t preview_ppcfg; - vpx_codec_pkt_list_decl(26) pkt_list; // changed to accomendate the maximum number of lagged frames allowed + vpx_codec_pkt_list_decl(64) pkt_list; // changed to accomendate the maximum number of lagged frames allowed int deprecated_mode; unsigned int fixed_kf_cntr; }; -- 2.7.4