Message ID | 20161201162228.3524-1-robux4@videolabs.io |
---|---|
State | New |
Headers | show |
diff --git a/libavcodec/dxva2.c b/libavcodec/dxva2.c index 04a9c11..a64b1b5 100644 --- a/libavcodec/dxva2.c +++ b/libavcodec/dxva2.c @@ -29,7 +29,7 @@ #include "avcodec.h" #include "dxva2_internal.h" -void *ff_dxva2_get_surface(const AVFrame *frame) +static void *ff_dxva2_get_surface(const AVFrame *frame) { return frame->data[3]; } diff --git a/libavcodec/dxva2_internal.h b/libavcodec/dxva2_internal.h index 24adb99..c962810 100644 --- a/libavcodec/dxva2_internal.h +++ b/libavcodec/dxva2_internal.h @@ -96,8 +96,6 @@ typedef union { #define DXVA_CONTEXT_CFG_RESIDACCEL(avctx, ctx) (ctx->d3d11va.cfg->ConfigResidDiffAccelerator) #endif -void *ff_dxva2_get_surface(const AVFrame *frame); - unsigned ff_dxva2_get_surface_index(const AVCodecContext *avctx, const AVDXVAContext *, const AVFrame *frame);
From: Steve Lhomme <slhomme@matroska.org> --- libavcodec/dxva2.c | 2 +- libavcodec/dxva2_internal.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-)