Mercurial > mplayer.hg
diff TOOLS/vivodump.c @ 32123:a86413775fbe
Replace sizeof(BITMAPINFOHEADER)
author | reimar |
---|---|
date | Sun, 12 Sep 2010 16:08:57 +0000 |
parents | b573c7c7173b |
children |
line wrap: on
line diff
--- a/TOOLS/vivodump.c Sun Sep 12 16:03:46 2010 +0000 +++ b/TOOLS/vivodump.c Sun Sep 12 16:08:57 2010 +0000 @@ -212,8 +212,8 @@ mux->h.dwScale=1; mux->h.dwRate=10; -mux->bih=malloc(sizeof(BITMAPINFOHEADER)); -mux->bih->biSize=sizeof(BITMAPINFOHEADER); +mux->bih=malloc(sizeof(*mux->bih)); +mux->bih->biSize=sizeof(*mux->bih); mux->bih->biPlanes=1; mux->bih->biBitCount=24; mux->bih->biCompression=0x6f766976;// 7669766f;