[FFmpeg-cvslog] qsvenc: Fix b_strategy typo

Derek Buitenhuis git at videolan.org
Thu Jan 28 01:08:45 CET 2016


ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Wed Jan 27 23:49:41 2016 +0000| [02bd02da5f90536c676ad6d987a980c5a04dca2f] | committer: Derek Buitenhuis

qsvenc: Fix b_strategy typo

This was introduced in 0e6c8532215790bbe560a9eea4f3cc82bb55cf92.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=02bd02da5f90536c676ad6d987a980c5a04dca2f
---

 libavcodec/qsvenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c
index 4988027..3bac8cf 100644
--- a/libavcodec/qsvenc.c
+++ b/libavcodec/qsvenc.c
@@ -520,7 +520,7 @@ FF_DISABLE_DEPRECATION_WARNINGS
                 q->b_strategy = avctx->b_frame_strategy;
 FF_ENABLE_DEPRECATION_WARNINGS
 #endif
-            if (q->extco2.b_strategy >= 0)
+            if (q->b_strategy >= 0)
                 q->extco2.BRefType = q->b_strategy ? MFX_B_REF_PYRAMID : MFX_B_REF_OFF;
             if (q->adaptive_i >= 0)
                 q->extco2.AdaptiveI = q->adaptive_i ? MFX_CODINGOPTION_ON : MFX_CODINGOPTION_OFF;



More information about the ffmpeg-cvslog mailing list