wmv2: Propagate the wmv2 idct permutation type to the dsputils context
authorMartin Storsjö <martin@martin.st>
Wed, 23 Jan 2013 21:14:27 +0000 (23:14 +0200)
committerMartin Storsjö <martin@martin.st>
Wed, 23 Jan 2013 22:32:35 +0000 (00:32 +0200)
commit57ed8debb9b9cc565cc6e9f98c5b5cbb9f69097c
tree582143dc0acf762978a6c02095b9f0ca04853988
parente90820d4f815c15796e642467cdddbad755212a2
wmv2: Propagate the wmv2 idct permutation type to the dsputils context

This fixes encoding where the idct setting originally was set to
FF_IDCT_AUTO and dsputil chose a default idct with a non-null
permutation - even if the permutation tables were updated,
dct_quantize in x86/mpegvideoenc_template.c also checked the
value of this type variable.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/wmv2.c