diff options
author | wm4 <wm4@nowhere> | 2014-03-16 15:05:46 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-16 15:05:46 +0100 |
commit | 2963d84a9b716bea0140e5bbf76898d3e9bc87b0 (patch) | |
tree | 054723e78f5f464dfb88774fc36dd406ca6b1c7c /video | |
parent | 269c1e1f41f6daf4ff17ffd47f5dfe78884b8ec7 (diff) |
vd_lavc: remove unused field
Diffstat (limited to 'video')
-rw-r--r-- | video/decode/lavc.h | 1 | ||||
-rw-r--r-- | video/decode/vd_lavc.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/video/decode/lavc.h b/video/decode/lavc.h index 954b2c852f..35c66fc19b 100644 --- a/video/decode/lavc.h +++ b/video/decode/lavc.h @@ -27,7 +27,6 @@ typedef struct lavc_ctx { AVFrame *pic; struct vd_lavc_hwdec *hwdec; enum AVPixelFormat pix_fmt; - int do_hw_dr1; int best_csp; enum AVDiscard skip_frame; const char *software_fallback_decoder; diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index 4914d04f20..632d5cacd7 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -309,7 +309,6 @@ static void init_avctx(struct dec_video *vd, const char *decoder, ctx->hwdec_info = &vd->hwdec_info; - ctx->do_hw_dr1 = 0; ctx->pix_fmt = AV_PIX_FMT_NONE; ctx->hwdec = hwdec; ctx->hwdec_fmt = 0; @@ -323,7 +322,6 @@ static void init_avctx(struct dec_video *vd, const char *decoder, ctx->pic = av_frame_alloc(); if (ctx->hwdec) { - ctx->do_hw_dr1 = true; avctx->thread_count = 1; avctx->get_format = get_format_hwdec; avctx->get_buffer2 = get_buffer2_hwdec; |