summaryrefslogtreecommitdiff
path: root/libavcodec/wmv2dec.c
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-05-07 21:38:30 +0100
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-05-07 21:39:44 +0100
commitf110c624b1f30ac7f817eda128db1265260e57c7 (patch)
tree22408a510dd65e4febf8c9f279419fb659b6c0b5 /libavcodec/wmv2dec.c
parentc59c7924707e2a28f2e777c2f7c284078feae967 (diff)
parent9fa888c02801fff2e8817c24068f5296bbe60000 (diff)
Merge commit '9fa888c02801fff2e8817c24068f5296bbe60000'
* commit '9fa888c02801fff2e8817c24068f5296bbe60000': intrax8: Keep a reference to the decoder blocks Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/wmv2dec.c')
-rw-r--r--libavcodec/wmv2dec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/wmv2dec.c b/libavcodec/wmv2dec.c
index 6ee13a4fc1..ab9cfae244 100644
--- a/libavcodec/wmv2dec.c
+++ b/libavcodec/wmv2dec.c
@@ -470,6 +470,7 @@ static av_cold int wmv2_decode_init(AVCodecContext *avctx)
ff_wmv2_common_init(w);
return ff_intrax8_common_init(avctx, &w->x8, &w->s.idsp,
+ w->s.block, w->s.block_last_index,
w->s.mb_width, w->s.mb_height, &w->s);
}