Increase the size of output packet list
authorYaowu Xu <yaowu@google.com>
Thu, 27 May 2010 17:04:36 +0000 (10:04 -0700)
committerYaowu Xu <yaowu@google.com>
Fri, 28 May 2010 02:44:15 +0000 (19:44 -0700)
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

index 5883abd..16ad678 100644 (file)
@@ -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;
 };