gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] Re: WARNING: add_bitmap called with bi=NULL


From: Udo Giacomozzi
Subject: [Gnash-dev] Re: WARNING: add_bitmap called with bi=NULL
Date: Mon, 6 Nov 2006 00:09:41 +0100

Hello strk,

Sunday, November 5, 2006, 11:01:11 PM, you wrote:

s> Udo, in render_handler_agg_style.cpp (line 305):

s> (add_bitmap method)

s>         // NOTE: Apparently "bi" can be NULL in some cases and this should 
not
s>         // be treated as an error.
s>         log_msg("WARNING: add_bitmap called with bi=NULL");

s> Where does the add_bitmap method come from ?
s> It seems not be a render_handler.h interface, so is it AGG-only ?
s> I think the behaviour of being called with a NULL pointer should
s> be documented in it's definition.

It's defined in render_handler_agg_style.h and invoked from
render_handler_agg.cpp. The warning happens when
fill_styles[].get_bitmap_info() == NULL which is not rare. It seems
not to be a problem (some movies contain 5-6 fill styles even if
they're never used) but it must be handled to avoid segfaults.

Don't know what's the reason for this and thus the warning message.

Udo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]