Commit e3dfdba2 authored by Felix Abecassis's avatar Felix Abecassis Committed by Rémi Denis-Courmont

dxva2: fix incorrect return value

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 14c90980
...@@ -498,7 +498,7 @@ static int Open(vlc_va_t *external, int codec_id, const es_format_t *fmt) ...@@ -498,7 +498,7 @@ static int Open(vlc_va_t *external, int codec_id, const es_format_t *fmt)
{ {
vlc_va_dxva2_t *va = calloc(1, sizeof(*va)); vlc_va_dxva2_t *va = calloc(1, sizeof(*va));
if (!va) if (!va)
return NULL; return VLC_EGENERIC;
external->sys = va; external->sys = va;
/* */ /* */
......
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