summaryrefslogtreecommitdiffstats
path: root/libhb/vadxva2.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2015-06-23 16:27:04 +0000
committerRodeo <[email protected]>2015-06-23 16:27:04 +0000
commit110c304ff2113e5852a35174a7d51ffe5297483b (patch)
tree063bcfe563d4d1512be10e8fbd0d814e85ddfe2c /libhb/vadxva2.c
parenta94ce281bb6883ea3d3cb11a20d8879e9c3675d2 (diff)
Minor cleanup after last commit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7309 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/vadxva2.c')
-rw-r--r--libhb/vadxva2.c4
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,