changeset 32568:356050e526ad

Mark input-only buffer as const.
author reimar
date Sat, 27 Nov 2010 10:36:14 +0000
parents 2546de3e5afe
children e1027d24244b
files libmpdemux/video.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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'){