Previous 199869 Revisions Next

r23799 Wednesday 19th June, 2013 at 16:22:30 UTC by Oliver Stöneberg
fixed yuy16_compress_to_yuy() sometimes writing all green video with YUV2 and UYVY (nw)
[src/lib/util]aviio.c

trunk/src/lib/util/aviio.c
r23798r23799
24522452
24532453         case FORMAT_VYUY:
24542454         case FORMAT_YUY2:
2455            for (x = 0; x < stream->width && source < dataend; x++)
2455            for (x = 0; x < stream->width && dest < dataend; x++)
24562456            {
24572457               UINT16 pix = *source++;
24582458               *dest++ = (pix >> 8) | (pix << 8);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team