diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-13 16:41:13 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-13 16:41:13 +0000 |
commit | 32492483c0783a7b82a45a400527977124575335 (patch) | |
tree | dd22c483403cde4552f27adc715366c0e4b941b5 /libmpdemux/tv.c | |
parent | 241bfa8a0ca7c52c66fb48f6b9d97a0c7d8db4c2 (diff) | |
download | mpv-32492483c0783a7b82a45a400527977124575335.tar.bz2 mpv-32492483c0783a7b82a45a400527977124575335.tar.xz |
drops casts from void * on malloc/calloc from libmpdemux code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19067 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/tv.c')
-rw-r--r-- | libmpdemux/tv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/tv.c b/libmpdemux/tv.c index 001cd2ec48..d87dc78d5a 100644 --- a/libmpdemux/tv.c +++ b/libmpdemux/tv.c @@ -589,7 +589,7 @@ static demuxer_t* demux_open_tv(demuxer_t *demuxer) sh_audio->channels; // emulate WF for win32 codecs: - sh_audio->wf = (WAVEFORMATEX *)malloc(sizeof(WAVEFORMATEX)); + sh_audio->wf = malloc(sizeof(WAVEFORMATEX)); sh_audio->wf->wFormatTag = sh_audio->format; sh_audio->wf->nChannels = sh_audio->channels; sh_audio->wf->wBitsPerSample = sh_audio->samplesize * 8; |