Mercurial > mplayer.hg
diff libmpdemux/demux_nsv.c @ 18885:5c8acc972551
rm unnecesary casts from void* - part 4
author | reynaldo |
---|---|
date | Mon, 03 Jul 2006 13:21:54 +0000 |
parents | fdb789f1a99a |
children | 054516eecb9b |
line wrap: on
line diff
--- a/libmpdemux/demux_nsv.c Sun Jul 02 20:31:02 2006 +0000 +++ b/libmpdemux/demux_nsv.c Mon Jul 03 13:21:54 2006 +0000 @@ -209,7 +209,7 @@ // new video stream! parse header sh_video->disp_w=hdr[12]|(hdr[13]<<8); sh_video->disp_h=hdr[14]|(hdr[15]<<8); - sh_video->bih=(BITMAPINFOHEADER*)calloc(1,sizeof(BITMAPINFOHEADER)); + sh_video->bih=calloc(1,sizeof(BITMAPINFOHEADER)); sh_video->bih->biSize=sizeof(BITMAPINFOHEADER); sh_video->bih->biPlanes=1; sh_video->bih->biBitCount=24;