From 7effefff20ff6a11aa22d77bedf80dfc53025973 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 26 Sep 2006 21:10:50 +0000 Subject: use a more generic ioctl as the one used was deprecated with Linux 2.6.18 kernel git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19984 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_ivtv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libvo') diff --git a/libvo/vo_ivtv.c b/libvo/vo_ivtv.c index 253cffefbb..f17de21ef1 100644 --- a/libvo/vo_ivtv.c +++ b/libvo/vo_ivtv.c @@ -82,7 +82,7 @@ ivtv_reset (int blank_screen) sd.hide_last = blank_screen; sd.pts_stop = 0; - if (ioctl (ivtv_fd, IVTV_IOC_S_STOP_DECODE, &sd) < 0) + if (ioctl (ivtv_fd, IVTV_IOC_STOP_DECODE, &sd) < 0) { mp_msg (MSGT_VO, MSGL_ERR, "IVTV_IOC_STOP_DECODE: %s\n", strerror (errno)); @@ -92,7 +92,7 @@ ivtv_reset (int blank_screen) sd1.gop_offset = 0; sd1.muted_audio_frames = 0; - if (ioctl (ivtv_fd, IVTV_IOC_S_START_DECODE, &sd1) < 0) + if (ioctl (ivtv_fd, IVTV_IOC_START_DECODE, &sd1) < 0) { mp_msg (MSGT_VO, MSGL_ERR, "IVTV_IOC_START_DECODE: %s\n", strerror (errno)); -- cgit v1.2.3