[MPlayer-cvslog] r32655 - trunk/libmpdemux/video.c

reimar subversion at mplayerhq.hu
Sat Nov 27 11:36:14 CET 2010


Author: reimar
Date: Sat Nov 27 11:36:14 2010
New Revision: 32655

Log:
Mark input-only buffer as const.

Modified:
   trunk/libmpdemux/video.c

Modified: trunk/libmpdemux/video.c
==============================================================================
--- trunk/libmpdemux/video.c	Sat Nov 27 11:12:35 2010	(r32654)
+++ trunk/libmpdemux/video.c	Sat Nov 27 11:36:14 2010	(r32655)
@@ -408,7 +408,7 @@ mpeg_header_parser:
 return 1;
 }
 
-static void process_userdata(unsigned char* buf,int len){
+static void process_userdata(const unsigned char* buf,int len){
     int i;
     /* if the user data starts with "CC", assume it is a CC info packet */
     if(len>2 && buf[0]=='C' && buf[1]=='C'){


More information about the MPlayer-cvslog mailing list