summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_ty_osd.c2
-rw-r--r--libmpdemux/demux_ty_osd.h2
-rw-r--r--libmpdemux/video.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libmpdemux/demux_ty_osd.c b/libmpdemux/demux_ty_osd.c
index 0f7890f616..0d419b0813 100644
--- a/libmpdemux/demux_ty_osd.c
+++ b/libmpdemux/demux_ty_osd.c
@@ -862,7 +862,7 @@ static int ty_XDSdecode( char b1, char b2 )
// ===========================================================================
// Callback from Video Display Processing to put up the OSD
// ===========================================================================
-void ty_processuserdata( unsigned char* buf, int len )
+void ty_processuserdata( const unsigned char* buf, int len )
{
int index;
diff --git a/libmpdemux/demux_ty_osd.h b/libmpdemux/demux_ty_osd.h
index 3b81933759..ce0af05788 100644
--- a/libmpdemux/demux_ty_osd.h
+++ b/libmpdemux/demux_ty_osd.h
@@ -20,6 +20,6 @@
#define MPLAYER_DEMUX_TY_OSD_H
void ty_ClearOSD(int start);
-void ty_processuserdata(unsigned char *buf, int len);
+void ty_processuserdata(const unsigned char *buf, int len);
#endif /* MPLAYER_DEMUX_TY_OSD_H */
diff --git a/libmpdemux/video.c b/libmpdemux/video.c
index 1f249ff804..bda6e661ae 100644
--- a/libmpdemux/video.c
+++ b/libmpdemux/video.c
@@ -407,7 +407,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'){