summaryrefslogtreecommitdiff
path: root/multimedia/mplayer-share/patches/patch-ak
blob: 1c4e3108eb659c910e732e60915787f48f9dbddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-ak,v 1.3 2007/03/09 15:14:16 drochner Exp $

--- loader/dmo/DMO_VideoDecoder.c.orig	2007-03-09 14:52:13.000000000 +0100
+++ loader/dmo/DMO_VideoDecoder.c
@@ -121,6 +121,7 @@ DMO_VideoDecoder * DMO_VideoDecoder_Open
      
         this->iv.m_bh = 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;