s6145: Don't forget byteswapping.
This commit is contained in:
parent
336e7677fd
commit
198a3645e2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue