]> granicus.if.org Git - libvpx/commit
use calloc() instead of malloc()
authorPascal Massimino <pascal.massimino@gmail.com>
Tue, 6 Nov 2012 16:53:21 +0000 (08:53 -0800)
committerPascal Massimino <pascal.massimino@gmail.com>
Wed, 7 Nov 2012 00:11:57 +0000 (16:11 -0800)
commit0a3eec86e50f8b534e64a67883ea26958c39c8bf
tree55fbf02ceed59022787086b8a081487585401977
parent03c0af87478b15b0dd2cb3c069a795c7f29a6cc4
use calloc() instead of malloc()

So that, in case of error, the arrays are not filled with trash
pointers that are attempted a free() during vp8mt_de_alloc_temp_buffers()

Change-Id: Ic074549c2903a43316510eb42e4f393e7d3ee528
vp8/decoder/threading.c