10000000000l twisted typecasting

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12381 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
henry 2004-05-01 19:17:44 +00:00
parent a24323c65f
commit f5b29948ab
1 changed files with 1 additions and 1 deletions

View File

@ -737,7 +737,7 @@ static int control(priv_t *priv, int cmd, void *arg)
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;
}