[MPlayer-cvslog] r33515 - trunk/stream/stream_cue.c

reimar subversion at mplayerhq.hu
Sun May 29 13:45:47 CEST 2011


Author: reimar
Date: Sun May 29 13:45:47 2011
New Revision: 33515

Log:
Fix 0-termination being placed one byte too far.

Modified:
   trunk/stream/stream_cue.c

Modified: trunk/stream/stream_cue.c
==============================================================================
--- trunk/stream/stream_cue.c	Sun May 29 13:43:38 2011	(r33514)
+++ trunk/stream/stream_cue.c	Sun May 29 13:45:47 2011	(r33515)
@@ -205,7 +205,7 @@ static int cue_find_bin (const char *fir
           i++;
       }
     }
-    bin_filename[i+1] = '\0';
+    bin_filename[i] = '\0';
 
   }
 


More information about the MPlayer-cvslog mailing list