OSDN Git Service

check memory allocation and initialize to zero value in save_recyuv (v2)
authorLim Siew Hoon <siew.hoon.lim@intel.com>
Fri, 1 Jul 2016 02:30:20 +0000 (10:30 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 22 Jul 2016 08:13:20 +0000 (16:13 +0800)
commit8c0973050d825fb6a0734dd62fdf8b209aee8ad0
treea341644f214442102026df62d41aa0097b18cc69
parentc36778ff264b3c45b538db4bbfe6aea38fcb165e
check memory allocation and initialize to zero value in save_recyuv (v2)

v2:
Remove not necessary check dst_Y against NULL for sencond free(NULL).
Remove not necessary check dst_Y and dst_U against NULL for second free(NULL)
and third free(NULL).

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
test/encode/h264encode.c