annotate mp_msg-mencoder.c @ 23708:1fb5f0b13a1a

Fix crash on some DVDs sprintf(tmp,"%.02x",(char)0xef); would print "ffffffef" instead of "ef", in this case this leads to local array buffer overflow and hard to trace stack corruption. The quick, easy & durty solution is to use (unsigned char) or (uint8_t) Fixes Bugzilla 860 & 845
author iive
date Fri, 06 Jul 2007 23:22:51 +0000
parents 94813c4807f3
children 92b0eee57acb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5957
94813c4807f3 gui vs. mencoder conflict workaround
arpi
parents:
diff changeset
1
94813c4807f3 gui vs. mencoder conflict workaround
arpi
parents:
diff changeset
2 #define FOR_MENCODER 1
94813c4807f3 gui vs. mencoder conflict workaround
arpi
parents:
diff changeset
3 #include "mp_msg.c"