Mercurial > mplayer.hg
diff libmpdemux/demux_roq.c @ 32100:0e09b34b0c47
Replace some sizeof(type) by sizeof(*pointer)
author | reimar |
---|---|
date | Sun, 12 Sep 2010 12:22:01 +0000 |
parents | cd81fce1f010 |
children | 8fa2f43cb760 |
line wrap: on
line diff
--- a/libmpdemux/demux_roq.c Sun Sep 12 12:14:37 2010 +0000 +++ b/libmpdemux/demux_roq.c Sun Sep 12 12:22:01 2010 +0000 @@ -177,7 +177,7 @@ sh_audio->ds = demuxer->audio; // go through the bother of making a WAVEFORMATEX structure - sh_audio->wf = malloc(sizeof(WAVEFORMATEX)); + sh_audio->wf = malloc(sizeof(*sh_audio->wf)); // custom fourcc for internal MPlayer use sh_audio->format = mmioFOURCC('R', 'o', 'Q', 'A');