diff options
Diffstat (limited to 'libavcodec/vqavideo.c')
-rw-r--r-- | libavcodec/vqavideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c index 9133855..c34849d5 100644 --- a/libavcodec/vqavideo.c +++ b/libavcodec/vqavideo.c @@ -179,7 +179,7 @@ static av_cold int vqa_decode_init(AVCodecContext *avctx) /* allocate decode buffer */ s->decode_buffer_size = (s->width / s->vector_width) * (s->height / s->vector_height) * 2; - s->decode_buffer = av_malloc(s->decode_buffer_size); + s->decode_buffer = av_mallocz(s->decode_buffer_size); if (!s->decode_buffer) goto fail; |