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
This commit is contained in:
ben 2006-09-26 21:10:50 +00:00
parent f7e89b57fa
commit 7effefff20
1 changed files with 2 additions and 2 deletions

View File

@ -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));