diff options
Diffstat (limited to 'libhb/vadxva2.c')
-rw-r--r-- | libhb/vadxva2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/vadxva2.c b/libhb/vadxva2.c index 3c1dc0cf3..7ca965d3c 100644 --- a/libhb/vadxva2.c +++ b/libhb/vadxva2.c @@ -148,8 +148,8 @@ static int hb_dx_create_video_decoder( hb_va_dxva2_t *dxva2, int codec_id, const break; } - dxva2->surface_width = HBALIGN(fmt->geometry.width, surface_alignment); - dxva2->surface_height = HBALIGN(fmt->geometry.height, surface_alignment); + dxva2->surface_width = HB_ALIGN(fmt->geometry.width, surface_alignment); + dxva2->surface_height = HB_ALIGN(fmt->geometry.height, surface_alignment); LPDIRECT3DSURFACE9 surface_list[VA_DXVA2_MAX_SURFACE_COUNT]; if( FAILED( IDirectXVideoDecoderService_CreateSurface( dxva2->vs, |