On Thu, 25 Dec 2008 09:46:38 +0100 (CET) Vincent Torri <[email protected]>
babbled:

this isn't really to do with ecore_pipe - more to do with allocating a frame
that has things like bgra_pointer at some random garbage value that on an
update of frame, tries to get freed because it never was initialised before the
update because the struct doesn't start out a nice set of 0's :)

i could add in ecore_pipe() - though at this stage that's not going to fix
anything - just cause work and/or break things :) if there is a good reason to
- then sure! :)

hey. aren't you meant to be on holiday on a beach somewhere? :)

> raster, maybe you should use ecore_pipe in the xine module, like i did 
> recently in the gstreamer module.
> 
> Vincent
> 
> On Thu, 25 Dec 2008, Enlightenment SVN wrote:
> 
> > Log:
> >  calloc not malloc! bad patches!
> >
> >
> > Author:       raster
> > Date:         2008-12-25 00:35:51 -0800 (Thu, 25 Dec 2008)
> > New Revision: 38318
> >
> > Modified:
> >  trunk/emotion/src/modules/xine/emotion_xine_vo_out.c
> >
> > Modified: trunk/emotion/src/modules/xine/emotion_xine_vo_out.c
> > ===================================================================
> > --- trunk/emotion/src/modules/xine/emotion_xine_vo_out.c    2008-12-24
> > 18:27:05 UTC (rev 38317) +++
> > trunk/emotion/src/modules/xine/emotion_xine_vo_out.c        2008-12-25
> > 08:35:51 UTC (rev 38318) @@ -311,7 +311,7 @@
> >
> >    dv = (Emotion_Driver *)vo_driver;
> > //   printf("emotion: _emotion_frame_alloc()\n");
> > -   fr = (Emotion_Frame *)malloc(sizeof(Emotion_Frame));
> > +   fr = (Emotion_Frame *)calloc(1, sizeof(Emotion_Frame));
> >    if (!fr) return NULL;
> >
> >    fr->vo_frame.base[0]    = NULL;
> >
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > enlightenment-svn mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
> >
> > -- 
> > Ce message a été vérifié par MailScanner
> > pour des virus ou des polluriels et rien de
> > suspect n'a été trouvé.
> > Message délivré par le serveur de messagerie de l'Université d'Evry.
> >
> >


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to