diff libmpdemux/video.c @ 32568:356050e526ad

Mark input-only buffer as const.
author reimar
date Sat, 27 Nov 2010 10:36:14 +0000
parents ab8fb38f28b1
children ce9c41d97bfd
line wrap: on
line diff
--- a/libmpdemux/video.c	Sat Nov 27 10:12:35 2010 +0000
+++ b/libmpdemux/video.c	Sat Nov 27 10:36:14 2010 +0000
@@ -408,7 +408,7 @@
 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'){