OSDN Git Service

qsvenc: fix a typo
authorAnton Khirnov <anton@khirnov.net>
Sat, 23 Jan 2016 20:03:31 +0000 (21:03 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 23 Jan 2016 20:03:31 +0000 (21:03 +0100)
Introduced in 0e6c8532215790bbe560a9eea4f3cc82bb55cf92.

libavcodec/qsvenc.c

index bf3dc0f..9aa865d 100644 (file)
@@ -504,7 +504,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;