summaryrefslogtreecommitdiffstats
path: root/video/decode/lavc.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode/lavc.h')
-rw-r--r--video/decode/lavc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/decode/lavc.h b/video/decode/lavc.h
index 4252034b2c..f2ac5691d2 100644
--- a/video/decode/lavc.h
+++ b/video/decode/lavc.h
@@ -61,7 +61,8 @@ struct vd_lavc_hwdec {
const char *decoder);
int (*init)(struct lavc_ctx *ctx);
void (*uninit)(struct lavc_ctx *ctx);
- struct mp_image *(*allocate_image)(struct lavc_ctx *ctx, AVFrame *frame);
+ struct mp_image *(*allocate_image)(struct lavc_ctx *ctx, int fmt,
+ int w, int h);
void (*fix_image)(struct lavc_ctx *ctx, struct mp_image *img);
};