[MPlayer-dev-eng] [PATCH] Direct3D libvo driver
Georgi Petrov
gogothebee at gmail.com
Thu Nov 20 09:26:35 CET 2008
Ok, I'll fix the opening braces.
Don't worry - those are really cosmetic changes - no code was modified
at all. I've tested everything myself and as far as the compiler
cares, there's no difference. The only "changes" are in preinit:
/* Set to zero all global variables. */
priv = malloc(sizeof (struct global_priv));
if (!priv){
mp_msg(MSGT_VO,MSGL_ERR,"<vo_direct3d>Not enough memory\r\n");
return -1;
}
memset(priv, 0, sizeof (struct global_priv));
...and in uninit:
if (priv)
free (priv);
That's it. I'm beginning to implement RGB/BGR image formats and will
commit later today.
More information about the MPlayer-dev-eng
mailing list