openbsd-ports/x11/mplayer/patches/patch-loader_dmo_DMO_VideoDecoder_c
ajacoutot c2b0a0cb83 - add live555 support
- regen patches while here

from brad
ok robert@
2007-04-19 08:37:09 +00:00

12 lines
506 B
Plaintext

$OpenBSD: patch-loader_dmo_DMO_VideoDecoder_c,v 1.2 2007/04/19 08:37:09 ajacoutot Exp $
--- loader/dmo/DMO_VideoDecoder.c.orig Sun Jun 11 20:35:46 2006
+++ loader/dmo/DMO_VideoDecoder.c Thu Apr 19 09:41:04 2007
@@ -121,6 +121,7 @@ DMO_VideoDecoder * DMO_VideoDecoder_Open(char* dllname
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;