diff options
Diffstat (limited to 'src/gallium/state_trackers/vdpau/surface.c')
-rw-r--r-- | src/gallium/state_trackers/vdpau/surface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vdpau/surface.c b/src/gallium/state_trackers/vdpau/surface.c index bcc33c0f9b0..c987979f1f4 100644 --- a/src/gallium/state_trackers/vdpau/surface.c +++ b/src/gallium/state_trackers/vdpau/surface.c @@ -178,9 +178,9 @@ vlVdpVideoSurfaceSize(vlVdpSurface *p_surf, int component, } else if (p_surf->templat.chroma_format == PIPE_VIDEO_CHROMA_FORMAT_422) { *height /= 2; } - if (p_surf->templat.interlaced) - *height /= 2; } + if (p_surf->templat.interlaced) + *height /= 2; } /** |