Fix function to match what send_mpeg_pes_packet expects,
thus eliminating compiler warnings.
author |
reimar |
date |
Sat, 07 May 2011 19:19:35 +0000 |
parents |
a06e98375ec9 |
children |
53c8dd0ab057 |
files |
libvo/vo_v4l2.c libvo/vo_v4l2.h |
diffstat |
2 files changed, 2 insertions(+), 2 deletions(-)
[+]
|
line diff
--- a/libvo/vo_v4l2.c Sat May 07 19:17:04 2011 +0000
+++ b/libvo/vo_v4l2.c Sat May 07 19:19:35 2011 +0000
@@ -70,7 +70,7 @@
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;
--- a/libvo/vo_v4l2.h Sat May 07 19:17:04 2011 +0000
+++ b/libvo/vo_v4l2.h Sat May 07 19:19:35 2011 +0000
@@ -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 */