[Live-devel] Problem detected in compilation for arm and solution.

Juan Antonio Martinez Navarro juanantonio at dif.um.es
Thu May 11 03:47:16 PDT 2006


Hello,

I know it's really strange and it has no sense, but when I put some
debug messages the pointers fPrev and fNext in the creation of the
HandlerSet take different values.

Thanks a lot. :-)

El jue, 11-05-2006 a las 02:02 -0700, Ross Finlayson escribió:
> >
> >The problem detected is, that in the creation of the HandlerSeet, these
> >pointers take unsensed values. I solve it separating the different
> >cases. On one hand the case when you create the object HandlerSet and in
> >the other hand when you use it to add a HandlerDescriptor to the
> >HandlerSet.
> >
> >HandlerDescriptor::HandlerDescriptor(HandlerDescriptor* nextHandler)
> >{
> >         if(nextHandler==this)
> >         {
> >                 fNextHandler = this;
> >                 fPrevHandler = this;
> >         }
> >         else
> >         {
> >                 fNextHandler = nextHandler;
> >                 fPrevHandler = nextHandler->fPrevHandler;
> >                 nextHandler->fPrevHandler = this;
> >                 fPrevHandler->fNextHandler = this;
> >         }
> >}
> 
> I don't see how this change would be necessary, because the second 
> branch of the "if" should behave exactly like the first branch, if 
> "nextHandler == this".  However, because this change makes the code 
> clearer, I've added it to a new release (version 2006.05.11) of the 
> "LIVE555 Streaming Media" software.
> 
> 
> 	Ross Finlayson
> 	Live Networks, Inc. (LIVE555.COM)
> 	<http://www.live555.com/>
> 
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
> 
-- 
Juan Antonio Martínez Navarro <juanantonio at dif.um.es>
Departamento de Ingeniería de la Información y las Comunicaciones
Facultad de Informática
Universidad de Murcia
Teléfono: +34-968-367938



More information about the live-devel mailing list