s6145: Don't forget byteswapping.

This commit is contained in:
Solomon Peachy 2017-03-30 01:47:25 -04:00
parent 336e7677fd
commit 198a3645e2
1 changed files with 1 additions and 1 deletions

View File

@ -2102,7 +2102,7 @@ static int shinkos6145_read_parse(void *vctx, int data_fd) {
When bit 0 is set, this tells the backend that the data is
already in planar YMC format (vs packed RGB) so we don't need
to do the conversion ourselves. Saves some processing overhead */
ctx->input_ymc = (ctx->hdr.ext_flags & 0x01);
ctx->input_ymc = le32_to_cpu(ctx->hdr.ext_flags) & 0x01;
if (ctx->databuf) {
free(ctx->databuf);