changeset 12380:ae2f3126d7df

10000000000l twisted typecasting
author henry
date Sat, 01 May 2004 19:17:44 +0000
parents 4100528fadf1
children 41082d968b87
files libmpdemux/tvi_v4l2.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/tvi_v4l2.c	Sat May 01 18:48:42 2004 +0000
+++ b/libmpdemux/tvi_v4l2.c	Sat May 01 19:17:44 2004 +0000
@@ -737,7 +737,7 @@
     case TVI_CONTROL_AUD_SET_SAMPLERATE:
 	mp_msg(MSGT_TV, MSGL_V, "%s: set audio samplerate: %d\n",
 	       info.short_name, *(int *)arg);
-	if (audio_in_set_samplerate(&priv->audio_in, (int)*(void **)arg) < 0) return TVI_CONTROL_FALSE;
+	if (audio_in_set_samplerate(&priv->audio_in, *(int*)arg) < 0) return TVI_CONTROL_FALSE;
 //	setup_audio_buffer_sizes(priv);
 	return TVI_CONTROL_TRUE;
     }