Index: libmpc/branches/r2d/mpcenc/mpcenc.c
===================================================================
--- libmpc/branches/r2d/mpcenc/mpcenc.c	(revision 180)
+++ libmpc/branches/r2d/mpcenc/mpcenc.c	(revision 194)
@@ -1611,5 +1611,5 @@
     ShowParameters (&m, InputName, OutputName );
     if ( WIN32_MESSAGES  &&  FrontendPresent )
-        SendModeMessage (MainQual);
+        SendModeMessage (m.MainQual);
 
     if ( SkipTime > 0. ) {
Index: libmpc/branches/r2d/mpcenc/tags.c
===================================================================
--- libmpc/branches/r2d/mpcenc/tags.c	(revision 180)
+++ libmpc/branches/r2d/mpcenc/tags.c	(revision 194)
@@ -608,5 +608,5 @@
         return 0;
 
-	if ( src [0] != 0xFFi  ||  src [1] != 0xFEi )                 // Microsoft Unicode preample (also useful to detect endianess, but currently only little endian is supported)
+	if ( src [0] != 0xFF  ||  src [1] != 0xFE )                 // Microsoft Unicode preample (also useful to detect endianess, but currently only little endian is supported)
         return 0;
 
@@ -614,5 +614,5 @@
         if ( ( src [1] & 0xFC ) == 0xDC )
             return 0;
-        if ( src [1] == 0xFFi  &&  ( src [0] & 0xFE ) == 0xFE )
+        if ( src [1] == 0xFF  &&  ( src [0] & 0xFE ) == 0xFE )
             return 0;
         if ( ( src [1] & 0xFC ) == 0xD8 ) {
