OSDN Git Service

avcenc: Initialize all memory allocated by the CBAVC_Malloc callback function
authorMartin Storsjo <martin@martin.st>
Mon, 16 Apr 2012 17:50:37 +0000 (20:50 +0300)
committerMartin Storsjo <martin@martin.st>
Thu, 12 Jul 2012 15:19:26 +0000 (18:19 +0300)
commit359d8fcd30ff0a8390e4c5560d53ec55a4cc5bcd
treeefec98a8194e6be3d10aa986fbb264f869023c7b
parent23da4cf305b9bfff07954711a8a2d9ec040865af
avcenc: Initialize all memory allocated by the CBAVC_Malloc callback function

Valgrind reported use of uninitialized memory in AVCEncodeSlice,
which this fixes.

Change-Id: Ia09ad3e50d05b2b0487a4d588d9b00fc0828c816
media/libstagefright/codecs/avc/common/include/avcapi_common.h
media/libstagefright/codecs/avc/enc/SoftAVCEncoder.cpp