Browse Source

D3D11va: fix fix compilation on older libavcodec

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
pull/46/head
Steve Lhomme 10 years ago
committed by Jean-Baptiste Kempf
parent
commit
20cc6a01b6
  1. 2
      modules/codec/avcodec/d3d11va.c

2
modules/codec/avcodec/d3d11va.c

@ -244,7 +244,7 @@ static int Extract(vlc_va_t *va, picture_t *output, uint8_t *data)
assert(p_sys_out->texture != NULL);
assert(p_sys_in->decoder == src);
#if VLC_WINSTORE_APP && LIBAVCODEC_VERSION_CHECK(56, 2, 0, 3, 100)
#if VLC_WINSTORE_APP && LIBAVCODEC_VERSION_CHECK(57, 2, 0, 3, 100)
if( sys->context_mutex > 0 ) {
WaitForSingleObjectEx( sys->context_mutex, INFINITE, FALSE );
}

Loading…
Cancel
Save