Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-12-13 00:12:50 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-01-01 05:57:33 +0400
commite1facd3f8198fc4bfd54f3a4097e66513e6bf3e4 (patch)
treeb8e0c4f36a55955e27136475b9ca09e77d3bf58c /libavcodec/dxva2_vc1.c
parent3021d1be9ef1f863f880b5c667025936b45da065 (diff)
dxva2_vc1: set PQUANT as described by the 2010 spec update
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dxva2_vc1.c')
-rw-r--r--libavcodec/dxva2_vc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dxva2_vc1.c b/libavcodec/dxva2_vc1.c
index 33309b1032..bf4e8e0552 100644
--- a/libavcodec/dxva2_vc1.c
+++ b/libavcodec/dxva2_vc1.c
@@ -123,7 +123,7 @@ static void fill_picture_parameters(AVCodecContext *avctx,
(v->range_mapuv );
pp->bPicBinPB = 0;
pp->bMV_RPS = (v->fcm == ILACE_FIELD && pp->bPicBackwardPrediction) ? v->refdist + 9 : 0;
- pp->bReservedBits = 0;
+ pp->bReservedBits = v->pq;
if (s->picture_structure == PICT_FRAME) {
pp->wBitstreamFcodes = v->lumscale;
pp->wBitstreamPCEelements = v->lumshift;