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



_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to