aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/wmv2.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-24 14:04:11 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-24 14:15:40 +0100
commit40c27504a5fdab915118b9742f93944ee5a6862c (patch)
tree50425ac63d9a3a94edc39ea3c9bb07276928fd85 /libavcodec/wmv2.c
parentdd5689a3bdaafea34ebc73bd3fe9173a7f6c8317 (diff)
parent57ed8debb9b9cc565cc6e9f98c5b5cbb9f69097c (diff)
downloadffmpeg-40c27504a5fdab915118b9742f93944ee5a6862c.tar.gz
Merge commit '57ed8debb9b9cc565cc6e9f98c5b5cbb9f69097c'
* commit '57ed8debb9b9cc565cc6e9f98c5b5cbb9f69097c': wmv2: Propagate the wmv2 idct permutation type to the dsputils context rtp: Make sure priv_data is set before reading it Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/wmv2.c')
-rw-r--r--libavcodec/wmv2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/wmv2.c b/libavcodec/wmv2.c
index 9c94498bf1..6676652350 100644
--- a/libavcodec/wmv2.c
+++ b/libavcodec/wmv2.c
@@ -29,6 +29,7 @@ av_cold void ff_wmv2_common_init(Wmv2Context * w){
MpegEncContext * const s= &w->s;
ff_wmv2dsp_init(&w->wdsp);
+ s->dsp.idct_permutation_type = w->wdsp.idct_perm;
ff_init_scantable_permutation(s->dsp.idct_permutation,
w->wdsp.idct_perm);
ff_init_scantable(s->dsp.idct_permutation, &w->abt_scantable[0],