radeon/uvd: fix the assertion check for YUYV format
authorLeo Liu <leo.liu@amd.com>
Tue, 5 Sep 2017 17:30:57 +0000 (13:30 -0400)
committerLeo Liu <leo.liu@amd.com>
Wed, 6 Sep 2017 19:53:18 +0000 (15:53 -0400)
commite1e3c0384bb7243f339e0f7405c432a45cf92ff4
tree18afe42f1d1ff5be8a36f0ac27462d7b88abb051
parentad160c2273ce4c76fd4713badc126e05dfe9cb81
radeon/uvd: fix the assertion check for YUYV format

Fixes:7319ff87("radeon/uvd: add YUYV format support for target buffer")

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeon/radeon_uvd.c