[Mplayer-cvslog] CVS: main/libmpdemux tvi_v4l.c,1.58,1.59
Jindrich Makovicka CVS
henry at mplayerhq.hu
Thu Mar 20 11:40:48 CET 2003
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv6627
Modified Files:
tvi_v4l.c
Log Message:
replace sys_errlist with strerror() by Ivan Szanto
Index: tvi_v4l.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/tvi_v4l.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- tvi_v4l.c 19 Mar 2003 16:26:58 -0000 1.58
+++ tvi_v4l.c 20 Mar 2003 10:40:20 -0000 1.59
@@ -460,7 +460,7 @@
if (ioctl(priv->video_fd, MJPIOC_G_PARAMS, &bparm) < 0)
{
mp_msg(MSGT_TV, MSGL_ERR,
- " MJP: Error getting video parameters: %s\n", sys_errlist[errno]);
+ " MJP: Error getting video parameters: %s\n", strerror(errno));
goto err;
}
@@ -489,14 +489,14 @@
if (ioctl(priv->video_fd, MJPIOC_S_PARAMS, &bparm) < 0)
{
mp_msg(MSGT_TV, MSGL_ERR,
- " MJP: Error setting video parameters: %s\n", sys_errlist[errno]);
+ " MJP: Error setting video parameters: %s\n", strerror(errno));
goto err;
}
if (ioctl(priv->video_fd, MJPIOC_G_PARAMS, &bparm) < 0)
{
mp_msg(MSGT_TV, MSGL_ERR,
- " MJP: Error getting video parameters: %s\n", sys_errlist[errno]);
+ " MJP: Error getting video parameters: %s\n", strerror(errno));
goto err;
}
@@ -521,7 +521,7 @@
if (ioctl(priv->video_fd, MJPIOC_REQBUFS,&(breq)) < 0)
{
mp_msg (MSGT_TV, MSGL_ERR,
- " MJP: Error requesting video buffers: %s\n", sys_errlist[errno]);
+ " MJP: Error requesting video buffers: %s\n", strerror(errno));
goto err;
}
mp_msg(MSGT_TV, MSGL_INFO,
@@ -533,7 +533,7 @@
if (priv -> mmap == MAP_FAILED)
{
mp_msg(MSGT_TV, MSGL_INFO,
- " MJP: Error mapping video buffers: %s\n", sys_errlist[errno]);
+ " MJP: Error mapping video buffers: %s\n", strerror(errno));
goto err;
}
}
More information about the MPlayer-cvslog
mailing list