diff libmpdemux/demux_rawdv.c @ 32123:a86413775fbe

Replace sizeof(BITMAPINFOHEADER)
author reimar
date Sun, 12 Sep 2010 16:08:57 +0000
parents d332ea379205
children a7784f6008a7
line wrap: on
line diff
--- a/libmpdemux/demux_rawdv.c	Sun Sep 12 16:03:46 2010 +0000
+++ b/libmpdemux/demux_rawdv.c	Sun Sep 12 16:08:57 2010 +0000
@@ -190,7 +190,7 @@
    sh_video->frametime = 1.0/sh_video->fps;
 
   // emulate BITMAPINFOHEADER for win32 decoders:
-  sh_video->bih=calloc(1, sizeof(BITMAPINFOHEADER));
+  sh_video->bih=calloc(1, sizeof(*sh_video->bih));
   sh_video->bih->biSize=40;
   sh_video->bih->biWidth = dv_decoder->width;
   sh_video->bih->biHeight = dv_decoder->height;