blob: 59be6771f881afed6092ccb52732648bc88f4d5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
$NetBSD: patch-ax,v 1.3 2007/03/09 15:14:16 drochner Exp $
--- src/libw32dll/dmo/DMO_VideoDecoder.c.orig 2007-03-09 15:19:08.000000000 +0100
+++ src/libw32dll/dmo/DMO_VideoDecoder.c
@@ -118,6 +118,7 @@ DMO_VideoDecoder * DMO_VideoDecoder_Open
this->iv.m_bh = (BITMAPINFOHEADER*)malloc(bihs);
memcpy(this->iv.m_bh, format, bihs);
+ this->iv.m_bh->biSize = bihs;
this->iv.m_State = STOP;
//this->iv.m_pFrame = 0;
|