Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
18884:b635d250fd0e | 18885:5c8acc972551 |
---|---|
207 priv->v_format = sh_video->format=mmioFOURCC(hdr[4],hdr[5],hdr[6],hdr[7]); | 207 priv->v_format = sh_video->format=mmioFOURCC(hdr[4],hdr[5],hdr[6],hdr[7]); |
208 | 208 |
209 // new video stream! parse header | 209 // new video stream! parse header |
210 sh_video->disp_w=hdr[12]|(hdr[13]<<8); | 210 sh_video->disp_w=hdr[12]|(hdr[13]<<8); |
211 sh_video->disp_h=hdr[14]|(hdr[15]<<8); | 211 sh_video->disp_h=hdr[14]|(hdr[15]<<8); |
212 sh_video->bih=(BITMAPINFOHEADER*)calloc(1,sizeof(BITMAPINFOHEADER)); | 212 sh_video->bih=calloc(1,sizeof(BITMAPINFOHEADER)); |
213 sh_video->bih->biSize=sizeof(BITMAPINFOHEADER); | 213 sh_video->bih->biSize=sizeof(BITMAPINFOHEADER); |
214 sh_video->bih->biPlanes=1; | 214 sh_video->bih->biPlanes=1; |
215 sh_video->bih->biBitCount=24; | 215 sh_video->bih->biBitCount=24; |
216 sh_video->bih->biWidth=hdr[12]|(hdr[13]<<8); | 216 sh_video->bih->biWidth=hdr[12]|(hdr[13]<<8); |
217 sh_video->bih->biHeight=hdr[14]|(hdr[15]<<8); | 217 sh_video->bih->biHeight=hdr[14]|(hdr[15]<<8); |