Fixed KW issue 87954# for Libmix's IntelImageEncoder.

BZ: 161637

Issue: KW issue 87954# was reported, which might cause
buffer overflow.

Solution: Fixed it by adding buffer index's checking.

Change-Id: I44f25ab45daa580e1896fc5c8faac8de6b781176
Signed-off-by: SUN,Jing <jing.a.sun@intel.com>
1 file changed