Commit 14ca39de authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

directx_va: remove unused parameter

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2a399242
......@@ -330,7 +330,7 @@ int directx_va_Open(vlc_va_t *va, directx_sys_t *dx_sys,
msg_Dbg(va, "DLLs loaded");
}
if (va_pool_Open(va, &dx_sys->va_pool, ctx, fmt) != VLC_SUCCESS)
if (va_pool_Open(va, &dx_sys->va_pool, ctx) != VLC_SUCCESS)
goto error;
/* */
......
......@@ -163,8 +163,7 @@ void va_pool_Close(vlc_va_t *va, va_pool_t *va_pool)
va_pool->pf_destroy_device(va);
}
int va_pool_Open(vlc_va_t *va, va_pool_t *va_pool,
AVCodecContext *ctx, const es_format_t *fmt)
int va_pool_Open(vlc_va_t *va, va_pool_t *va_pool, AVCodecContext *ctx)
{
va_pool->codec_id = ctx->codec_id;
......
......@@ -73,7 +73,7 @@ typedef struct
} va_pool_t;
int va_pool_Open(vlc_va_t *, va_pool_t *, AVCodecContext *, const es_format_t *);
int va_pool_Open(vlc_va_t *, va_pool_t *, AVCodecContext *);
void va_pool_Close(vlc_va_t *va, va_pool_t *);
int va_pool_Setup(vlc_va_t *, va_pool_t *, AVCodecContext *, unsigned count, int alignment);
vlc_va_surface_t *va_pool_Get(vlc_va_t *, va_pool_t *);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment