[MPlayer-cvslog] r33406 - in trunk/libvo: vo_v4l2.c vo_v4l2.h

reimar subversion at mplayerhq.hu
Sat May 7 21:19:36 CEST 2011


Author: reimar
Date: Sat May  7 21:19:35 2011
New Revision: 33406

Log:
Fix function to match what send_mpeg_pes_packet expects,
thus eliminating compiler warnings.

Modified:
   trunk/libvo/vo_v4l2.c
   trunk/libvo/vo_v4l2.h

Modified: trunk/libvo/vo_v4l2.c
==============================================================================
--- trunk/libvo/vo_v4l2.c	Sat May  7 21:17:04 2011	(r33405)
+++ trunk/libvo/vo_v4l2.c	Sat May  7 21:19:35 2011	(r33406)
@@ -70,7 +70,7 @@ static const vo_info_t info =
 const LIBVO_EXTERN (v4l2)
 
 int
-v4l2_write (unsigned char *data, int len)
+v4l2_write (const unsigned char *data, int len)
 {
   if (v4l2_fd < 0)
     return 0;

Modified: trunk/libvo/vo_v4l2.h
==============================================================================
--- trunk/libvo/vo_v4l2.h	Sat May  7 21:17:04 2011	(r33405)
+++ trunk/libvo/vo_v4l2.h	Sat May  7 21:19:35 2011	(r33406)
@@ -25,6 +25,6 @@
 
 extern int v4l2_fd;
 
-int v4l2_write (unsigned char *data, int len);
+int v4l2_write (const unsigned char *data, int len);
 
 #endif /* MPLAYER_VO_V4L2_H */


More information about the MPlayer-cvslog mailing list