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:
authorIvan Uskov <ivan.uskov@nablet.com>2015-08-06 19:10:24 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2015-09-07 23:04:02 +0300
commit3f8e2e9953240365361e939ca2ecd788dd5bef59 (patch)
treefba9333fe5d584e1383b85ec512f4bb836f7802e /libavcodec/qsvdec_h2645.c
parentcc167f7e55dafdeeca7ac9622331db8d8f6cb463 (diff)
libavcodec/qsvdec.c: correct flush() handler has been implemented
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/qsvdec_h2645.c')
-rw-r--r--libavcodec/qsvdec_h2645.c4
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)