Fix the segfault while encoding multiple slice per frame.
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Wed, 28 May 2014 21:02:41 +0000 (15:02 -0600)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 16 Jun 2014 03:53:36 +0000 (11:53 +0800)
commit45481435f93b52f944c5f876e95fb7bfba56ed4f
tree405124c6333847c7cd2fad028e9b3013def4c366
parent1ed9128c99723ea202ba7614ca4f9c563b7ad846
Fix the segfault while encoding multiple slice per frame.

Zero initialize the packed raw data index array and
packed slice header index array during each preallocation.

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
Reviewed-by: Zhao, Yakui <yakui.zhao@intel.com>
(cherry picked from commit fbbe401aa28a0b3859d587ef08f0df15a2f7c8f2)
src/i965_drv_video.c