diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-12-12 21:12:50 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-01 02:57:33 +0100 |
commit | e1facd3f8198fc4bfd54f3a4097e66513e6bf3e4 (patch) | |
tree | b8e0c4f36a55955e27136475b9ca09e77d3bf58c /libavcodec/dxva2_vc1.c | |
parent | 3021d1be9ef1f863f880b5c667025936b45da065 (diff) | |
download | ffmpeg-e1facd3f8198fc4bfd54f3a4097e66513e6bf3e4.tar.gz |
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.c | 2 |
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; |