avcodec/hevc: Do not zero is_pcm on allocation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Christophe Gisquet 2015-02-02 15:51:45 +01:00 committed by Michael Niedermayer
parent da81cc38e8
commit 00fe77855b
1 changed files with 1 additions and 2 deletions

View File

@ -104,8 +104,7 @@ static int pic_arrays_init(HEVCContext *s, const HEVCSPS *sps)
s->cbf_luma = av_malloc_array(sps->min_tb_width, sps->min_tb_height);
s->tab_ipm = av_mallocz(min_pu_size);
s->is_pcm = av_mallocz_array(sps->min_pu_width + 1, sps->min_pu_height + 1);
s->is_pcm = av_malloc_array(sps->min_pu_width + 1, sps->min_pu_height + 1);
if (!s->tab_ipm || !s->cbf_luma || !s->is_pcm)
goto fail;