[client] remove YUV420 support

This commit is contained in:
Geoffrey McRae 2021-01-18 13:56:44 +11:00
parent 14cc57071c
commit 7355c196ba

View File

@ -582,12 +582,6 @@ static int frameThread(void * unused)
lgrFormat.bpp = 64; lgrFormat.bpp = 64;
break; break;
case FRAME_TYPE_YUV420:
dataSize = lgrFormat.height * lgrFormat.width;
dataSize += (dataSize / 4) * 2;
lgrFormat.bpp = 12;
break;
default: default:
DEBUG_ERROR("Unsupported frameType"); DEBUG_ERROR("Unsupported frameType");
error = true; error = true;