diff options
Diffstat (limited to 'video/decode/hw_mediacodec.c')
-rw-r--r-- | video/decode/hw_mediacodec.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/video/decode/hw_mediacodec.c b/video/decode/hw_mediacodec.c index b1a06c19ed..0f52695857 100644 --- a/video/decode/hw_mediacodec.c +++ b/video/decode/hw_mediacodec.c @@ -31,12 +31,7 @@ static int probe(struct lavc_ctx *ctx, struct vd_lavc_hwdec *hwdec, return 0; } -static int init(struct lavc_ctx *ctx) -{ - return 0; -} - -static int init_decoder(struct lavc_ctx *ctx, int w, int h) +static int init_decoder(struct lavc_ctx *ctx) { av_mediacodec_default_free(ctx->avctx); @@ -59,7 +54,6 @@ const struct vd_lavc_hwdec mp_vd_lavc_mediacodec = { .image_format = IMGFMT_MEDIACODEC, .lavc_suffix = "_mediacodec", .probe = probe, - .init = init, .init_decoder = init_decoder, .uninit = uninit, }; |