[MPlayer-dev-eng] [PATCH] Fix FOURCC format check in mplayer.c

Hans-Dieter Kosch hdkosch at kabelbw.de
Wed Aug 14 00:46:47 CEST 2013


some time ago I sent a patch to fix FOURCC format check in mplayer.c;
there was no response yet, so I send it again.

The comment in the code says:
/* Assume FOURCC if all bytes >= 0x20 (' ') */
But this can only work if it is checked byte by byte instead of a single long 
word (e.g. 0x2020211f >= 0x20202020 holds falsely true).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fourcc_mplayer.c.patch
Type: text/x-patch
Size: 1658 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20130814/5e3c5c70/attachment.bin>

More information about the MPlayer-dev-eng mailing list