diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2015-02-02 15:51:45 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-04 01:54:13 +0100 |
commit | 00fe77855b2aaf5de5bfe4d566a4ddd80aa6812e (patch) | |
tree | 7495417ccb8c5d7877b6d7d56c26e6a03e9b6798 | |
parent | da81cc38e8a90071484508fbdd8fb888dc9a4b7b (diff) | |
download | ffmpeg-00fe77855b2aaf5de5bfe4d566a4ddd80aa6812e.tar.gz |
avcodec/hevc: Do not zero is_pcm on allocation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/hevc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index a940f0bdbc..b77dbcde4c 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -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; |