diff options
Diffstat (limited to 'libavcodec/qsvdec_h2645.c')
-rw-r--r-- | libavcodec/qsvdec_h2645.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/qsvdec_h2645.c b/libavcodec/qsvdec_h2645.c index 569b765bf4..2d787225b1 100644 --- a/libavcodec/qsvdec_h2645.c +++ b/libavcodec/qsvdec_h2645.c @@ -137,8 +137,8 @@ static int qsv_decode_frame(AVCodecContext *avctx, void *data, static void qsv_decode_flush(AVCodecContext *avctx) { -// QSVH2645Context *s = avctx->priv_data; - /* TODO: flush qsv engine if necessary */ + QSVH2645Context *s = avctx->priv_data; + ff_qsv_decode_reset(avctx, &s->qsv); } #define OFFSET(x) offsetof(QSVH2645Context, x) |