2004-11-16  David Schleef  <ds@schleef.org>

	* libswfdec/Makefile.am: put headers in /usr/include/swfdec-0.3
	* swfdec.pc.in: same

2004-11-15  David Schleef  <ds@schleef.org>

	* libswfdec/swfdec_render.c: (swfdec_render_get_image): Fix crasher
	when increasing size of window.
	* player/swf_play.c: (main), (do_safe), (new_window),
	(render_idle_audio): Implement --safe.  Attempt to make SDL
	handle events when plugged.
	* plugin/plugin.c: (plugin_fork), (plugin_thread), (plugin_newp),
	(plugin_destroy), (plugin_set_window), (plugin_write_ready),
	(plugin_write), (plugin_event), (plugin_set_value),
	(NP_Initialize), (DEBUG): Merge plugin code from gstreamer.

2004-11-14  David Schleef  <ds@schleef.org>

	* player/swf_play.c: (main): g_file_get_contents() takes gsize,
	  not int.
	* test/dump.c: (main):
	* test/render.c: (main):

2004-11-06  David Schleef  <ds@schleef.org>

	Global reindent.
	* libswfdec/actions.c: (get_actions), (tag_func_do_action),
	(swfdec_action_script_execute):
	* libswfdec/art.c: (art_vpath_reverse), (art_rgb_svp_alpha2),
	(art_rgb565_fillrect), (art_rgb_fillrect),
	(art_rgb565_svp_alpha_callback),
	(art_rgb_svp_alpha_compose_callback), (art_rgb_svp_alpha_callback),
	(art_grey_svp_alpha_callback), (swfdec_art_bpath_from_points),
	(art_bpath_affine_transform_inplace):
	* libswfdec/art.h:
	* libswfdec/color.c: (swfdec_color_apply_transform):
	* libswfdec/color.h:
	* libswfdec/render.c: (tag_place_object_2),
	(swfdec_spriteseg_render), (swfdec_layer_render):
	* libswfdec/swf.c: (swfdec_init), (swfdec_decoder_new),
	(swfdec_decoder_add_data), (swfdec_decoder_add_buffer),
	(swfdec_decoder_eof), (swfdec_decoder_parse),
	(swfdec_decoder_free), (swfdec_decoder_set_image_size),
	(swf_inflate_init), (swf_parse_header2), (tag_func_dumpbits),
	(tag_func_frame_label):
	* libswfdec/swfdec.h:
	* libswfdec/swfdec_actions.h:
	* libswfdec/swfdec_bits.c: (swfdec_bits_get_color_transform),
	(swfdec_bits_get_transform):
	* libswfdec/swfdec_bits.h:
	* libswfdec/swfdec_buffer.c: (swfdec_buffer_new),
	(swfdec_buffer_new_and_alloc), (swfdec_buffer_new_with_data),
	(swfdec_buffer_new_subbuffer), (swfdec_buffer_ref),
	(swfdec_buffer_unref), (swfdec_buffer_free_mem),
	(swfdec_buffer_free_subbuffer), (swfdec_buffer_queue_new),
	(swfdec_buffer_queue_get_depth), (swfdec_buffer_queue_get_offset),
	(swfdec_buffer_queue_free), (swfdec_buffer_queue_push),
	(swfdec_buffer_queue_pull), (swfdec_buffer_queue_peek):
	* libswfdec/swfdec_buffer.h:
	* libswfdec/swfdec_button.c: (swfdec_button_base_init),
	(swfdec_button_class_init), (swfdec_button_init),
	(swfdec_button_dispose), (swfdec_button_render),
	(tag_func_define_button_2):
	* libswfdec/swfdec_button.h:
	* libswfdec/swfdec_debug.c: (swfdec_debug_log), (art_warn):
	* libswfdec/swfdec_debug.h:
	* libswfdec/swfdec_decoder.h:
	* libswfdec/swfdec_display.c: (tag_func_place_object_2):
	* libswfdec/swfdec_font.c: (swfdec_font_base_init),
	(swfdec_font_class_init), (swfdec_font_init),
	(swfdec_font_dispose), (swfdec_font_get_glyph),
	(tag_func_define_font), (tag_func_define_font_2):
	* libswfdec/swfdec_font.h:
	* libswfdec/swfdec_image.c: (swfdec_image_base_init),
	(swfdec_image_class_init), (swfdec_image_init),
	(swfdec_image_dispose), (lossless), (define_bits_lossless),
	(swfdec_image_colormap_decode):
	* libswfdec/swfdec_image.h:
	* libswfdec/swfdec_layer.c: (swfdec_render_get_sublayer):
	* libswfdec/swfdec_object.c: (swfdec_object_get_type),
	(swfdec_object_base_init), (swfdec_object_class_init),
	(swfdec_object_init), (swfdec_object_dispose),
	(swfdec_object_unref), (swfdec_object_get):
	* libswfdec/swfdec_object.h:
	* libswfdec/swfdec_rect.c: (swfdec_rect_intersect),
	(swfdec_rect_union), (swfdec_rect_is_empty):
	* libswfdec/swfdec_rect.h:
	* libswfdec/swfdec_render.c: (swfdec_render_free),
	(swfdec_render_iterate), (swfdec_render_get_object_state),
	(swfdec_render_seek), (swfdec_render_get_frame_index),
	(swfdec_render_get_image), (swfdec_render_get_audio):
	* libswfdec/swfdec_render.h:
	* libswfdec/swfdec_render_libart.c: (swfdec_layervec_render),
	(swfdec_shape_render), (swfdec_text_render),
	(swf_config_colorspace), (swfdec_render_layervec_free):
	* libswfdec/swfdec_render_libart.h:
	* libswfdec/swfdec_shape.c: (swfdec_shape_base_init),
	(swfdec_shape_class_init), (swfdec_shape_init),
	(swfdec_shape_dispose), (swfdec_shapevec_free), (get_shape_rec),
	(tag_func_define_shape), (tag_define_shape), (tag_define_shape_3),
	(swf_shape_add_styles), (swfdec_shape_get_fill0style),
	(swfdec_shape_get_fill1style), (swfdec_shape_get_linestyle),
	(swf_shape_get_recs), (swfdec_shape_compose),
	(swfdec_shape_compose_gradient), (my_root),
	(swfdec_gradient_to_palette), (tag_define_morph_shape),
	(swf_shape_ignore_recs), (swf_morphshape_add_styles),
	(swf_morphshape_get_recs):
	* libswfdec/swfdec_shape.h:
	* libswfdec/swfdec_sound.c: (swfdec_sound_base_init),
	(swfdec_sound_class_init), (swfdec_sound_init),
	(swfdec_sound_dispose), (tag_func_sound_stream_block),
	(swfdec_decoder_sound_buffer_append), (adpcm_decode),
	(swfdec_sound_render), (swfdec_sound_mp3_init),
	(swfdec_sound_mp3_cleanup), (swfdec_sound_mp3_decode),
	(swfdec_sound_mp3_decode_stream):
	* libswfdec/swfdec_sound.h:
	* libswfdec/swfdec_sprite.c: (swfdec_sprite_base_init),
	(swfdec_sprite_class_init), (swfdec_sprite_init),
	(swfdec_sprite_dispose), (swfdec_sprite_add_sound_chunk),
	(swfdec_sprite_add_action), (swfdec_sprite_render),
	(tag_func_define_sprite), (swfdec_sprite_get_seg),
	(swfdec_spriteseg_place_object_2):
	* libswfdec/swfdec_sprite.h:
	* libswfdec/swfdec_text.c: (swfdec_text_base_init),
	(swfdec_text_class_init), (swfdec_text_init),
	(swfdec_text_dispose), (define_text), (tag_func_define_text_2):
	* libswfdec/swfdec_text.h:
	* libswfdec/swfdec_transform.c: (swfdec_transform_is_translation),
	(swfdec_transform_multiply), (swfdec_transform_invert),
	(swfdec_transform_init_identity), (swfdec_transform_translate),
	(swfdec_transform_get_expansion):
	* libswfdec/swfdec_transform.h:
	* libswfdec/tags.h:
	* player/swf_play.c: (main), (do_help), (new_window), (fill_audio),
	(sound_setup), (render_idle_audio), (render_idle_noaudio),
	(fd_is_ready), (packet_get), (packet_free):
	* plugin/plugin.c: (plugin_fork), (plugin_newp), (plugin_destroy),
	(plugin_set_window), (plugin_new_stream), (plugin_destroy_stream),
	(plugin_write_ready), (plugin_write), (plugin_stream_as_file),
	(NP_GetValue), (NP_GetMIMEDescription), (NP_Initialize),
	(NP_Shutdown), (NPP_DestroyStream), (NPP_URLNotify),
	(packet_write):
	* plugin/spp.h:

2004-11-04  David Schleef  <ds@schleef.org>

	* configure.ac: bump nano

=== release 0.3.1 ===

2004-11-04  David Schleef  <ds@schleef.org>

	* Makefile.am: prep for release
	* configure.ac:
	* player/Makefile.am:
	* plugin/Makefile.am:

2004-11-04  David Schleef  <ds@schleef.org>

	* README: add dependency on liboil
	* player/swf_play.c: (main), (do_help), (new_window),
	(sound_setup), (render_idle_audio), (fd_is_ready), (packet_get):
	Cleanup.

2004-11-04  David Schleef  <ds@schleef.org>

	* README: random fixes
	* libswfdec/swf.c: (swfdec_decoder_set_image_size): change scaling
	back to browser-friendly policy.
	* libswfdec/swfdec_render.c: (swfdec_render_iterate): change eof
	policy back to being browser-friendly
	* libswfdec/swfdec_shape.c: (swfdec_shape_compose_gradient),
	(my_root): optimization for circular gradients
	* player/Makefile.am: include plugin dir for spp.h
	* player/swf_play.c: (main), (do_help), (sound_setup),
	(render_idle_audio), (packet_get), (packet_free): Add SPP protocol
	handling.  Additional fixes to make plugin work again.
	* plugin/plugin.c: (plugin_fork), (plugin_newp), (plugin_destroy),
	(plugin_set_window), (plugin_destroy_stream), (plugin_write),
	(plugin_stream_as_file), (NP_GetValue), (NP_Initialize),
	(NPP_DestroyStream), (packet_write): Add SPP protocol handling.
	Other random fixes.
	* plugin/spp.h: SPP protocol.

2004-10-26  David Schleef  <ds@schleef.org>

	* player/swf_play.c: (render_idle_audio): endianness fixes

2004-10-08  David Schleef  <ds@schleef.org>

	* Makefile.am: player no longer depends on glib
	* glib-compat/glib-object.h: new
	* glib-compat/glib.h: more compatibility
	* glib-compat/glib/Makefile.am: add gobject.c
	* glib-compat/glib/gobject.c: (g_type_init), (g_type_name),
	(g_object_new), (g_object_unref): 
	* libswfdec/jpeg/Makefile.am:
	* libswfdec/swfdec_debug.c: (swfdec_debug_log): glib-compat stuff
	* libswfdec/swfdec_display.c: (tag_func_place_object_2),
	(tag_func_remove_object), (tag_func_remove_object_2): remove g_print()
	* libswfdec/swfdec_font.h: glib-compat
	* libswfdec/swfdec_image.h: same
	* libswfdec/swfdec_object.c: same
	* libswfdec/swfdec_object.h: same
	* libswfdec/swfdec_render.c: (swfdec_render_get_image): same
	* libswfdec/swfdec_shape.c: (get_shape_rec),
	(tag_func_define_shape): remove g_print()
	* libswfdec/swfdec_shape.h: glib-compat
	* libswfdec/swfdec_sound.h: same
	* libswfdec/swfdec_sprite.h: same
	* libswfdec/swfdec_text.h: same
	* player/swf_play.c: (main), (render_idle_audio),
	(render_idle_noaudio): remove glib dependency
	* test/Makefile.am: dump works with glib-compat
	* test/dump.c: (main): same

2004-10-08  David Schleef  <ds@schleef.org>

	* libswfdec/swfdec_render.c: (swfdec_render_get_object_state):
	add object id as identifier for object state.  Improves rendering
	of sprites.
	* libswfdec/swfdec_render.h:
	* libswfdec/swfdec_shape.c: (swfdec_shape_get_fill0style),
	(swfdec_shape_get_fill1style), (swfdec_shape_get_linestyle):
	* libswfdec/swfdec_sprite.c: (swfdec_sprite_render):
	* player/Makefile.am: Remove gtk dependency.
	* player/swf_play.c: (main), (new_window), (render_idle_audio),
	(render_idle_noaudio): Remove gtk dependency.  SDL-only now.

2004-10-07  David Schleef  <ds@schleef.org>

	* libswfdec/swf.c: disable DefineMorphShape
	* libswfdec/swfdec_render.c: (swfdec_render_iterate): return FALSE
	if we know the animation has ended.
	* libswfdec/swfdec_sprite.c: (tag_func_define_sprite): fix parsing
	to handle changes in tag lookup function.

2004-10-05  David Schleef  <ds@schleef.org>

	* Makefile.am: distcheck fixes
	* configure.ac:
	* libswfdec/Makefile.am:

2004-10-05  David Schleef  <ds@schleef.org>

	* TODO: random notes
	* libswfdec/actions.c: (get_actions),
	(swfdec_action_script_execute): minor execution improvements
	* libswfdec/swf.c: (swfdec_decoder_parse),
	(swfdec_decoder_get_tag_func): check for invalid tags
	differently.
	* libswfdec/swfdec_bits.c: (swfdec_bits_get_morph_gradient): add
	function
	* libswfdec/swfdec_bits.h: ditto
	* libswfdec/swfdec_render.c: (swfdec_render_iterate),
	(swfdec_render_get_audio): stop if iterating past end.  Increase
	audio buffer size.
	* libswfdec/swfdec_shape.c: (tag_func_define_shape),
	(tag_define_shape), (tag_define_shape_3), (swf_shape_add_styles),
	(swfdec_gradient_to_palette), (tag_define_morph_shape),
	(swf_shape_ignore_recs), (swf_morphshape_add_styles),
	(swf_morphshape_get_recs): improve debugging.  Add morph shape
	parsing (incomplete)
	* libswfdec/swfdec_shape.h: add protos
	* libswfdec/swfdec_sound.c: (swfdec_sound_mp3_decode),
	(swfdec_sound_mp3_decode_stream): resync more correctly
	* libswfdec/swfdec_sound.h: change buffer size
	* libswfdec/swfdec_sprite.c: (swfdec_sprite_render): decrease
	warning level

2004-10-04  David Schleef  <ds@schleef.org>

	* libswfdec/Makefile.am:
	* libswfdec/swfdec_actions.h: new file

2004-10-04  David Schleef  <ds@schleef.org>

	* libswfdec/Makefile.am: export art_warn
	* libswfdec/actions.c: (tag_func_do_action),
	(swfdec_action_script_execute): minimal AS execution
	* libswfdec/jpeg/huffman.c: switch to swfdec debugging system
	* libswfdec/jpeg/jpeg.c: same.  Check for image overruns when
	decoding macroblocks.
	* libswfdec/jpeg/jpeg_debug.h: same
	* libswfdec/jpeg/test.c: same
	* libswfdec/jpeg/test_rgb.c: same
	* libswfdec/render.c: add debugging
	* libswfdec/swf.c: add debugging.  allocate action buffer array
	* libswfdec/swfdec_buffer.c: quiet debugging.  Add get_offset.
	* libswfdec/swfdec_buffer.h: same
	* libswfdec/swfdec_button.c: Fix button rendering.
	* libswfdec/swfdec_button.h: same
	* libswfdec/swfdec_debug.c: override art_warn.  it's annoying.
	* libswfdec/swfdec_decoder.h: add stopped field.
	* libswfdec/swfdec_image.c: add debugging
	* libswfdec/swfdec_internal.h: add swfdec_actions.h
	* libswfdec/swfdec_render.c: improve iteration, fix clipping.
	* libswfdec/swfdec_render.h: improve iteration
	* libswfdec/swfdec_shape.c: check for inconsistent SWF files
	* libswfdec/swfdec_sound.c: replace SoundChunk with Buffer
	* libswfdec/swfdec_sound.h: same
	* libswfdec/swfdec_sprite.c: record actions.  Fix clipping
	rendering and parsing.
	* libswfdec/swfdec_sprite.h: Add action buffer array.
	* player/swf_play.c: minor fixes
	* test/dump.c: dump more information

2004-09-22  David Schleef  <ds@schleef.org>

	* libswfdec/jpeg/bits.h: reindent
	* libswfdec/jpeg/huffman.c:
	* libswfdec/jpeg/huffman.h:
	* libswfdec/jpeg/jpeg.c:
	* libswfdec/jpeg/jpeg.h:
	* libswfdec/jpeg/jpeg_debug.h:
	* libswfdec/jpeg/jpeg_internal.h:
	* libswfdec/jpeg/jpeg_rgb_decoder.c:
	* libswfdec/jpeg/jpeg_rgb_decoder.h:
	* libswfdec/jpeg/jpeg_rgb_internal.h:
	* libswfdec/jpeg/test.c:
	* libswfdec/jpeg/test_rgb.c:

2004-09-17  David Schleef  <ds@schleef.org>

	Switch to using buffers for the input stream.
	* libswfdec/swf.c: (swfdec_init), (swfdec_decoder_new),
	(swfdec_decoder_add_buffer), (swfdec_decoder_parse),
	(swfdec_decoder_free), (swf_parse_header1), (swf_inflate_init),
	(swf_parse_header2), (swfdec_decoder_get_tag_name),
	(swfdec_decoder_get_tag_func), (tag_func_ignore_quiet),
	(tag_func_ignore):
	* libswfdec/swfdec_bits.h:
	* libswfdec/swfdec_buffer.c: (swfdec_buffer_queue_new),
	(swfdec_buffer_queue_get_depth), (swfdec_buffer_queue_free),
	(swfdec_buffer_queue_push), (swfdec_buffer_queue_pull),
	(swfdec_buffer_queue_peek):
	* libswfdec/swfdec_buffer.h:
	* libswfdec/swfdec_button.c: (tag_func_define_button_2):
	* libswfdec/swfdec_decoder.h:
	* libswfdec/swfdec_image.c: (swfdec_image_jpegtables),
	(tag_func_define_bits_jpeg), (tag_func_define_bits_jpeg_2),
	(tag_func_define_bits_jpeg_3), (define_bits_lossless):
	* libswfdec/swfdec_render.c: (swfdec_render_iterate),
	(swfdec_render_get_frame_index), (swfdec_render_get_audio):
	* libswfdec/swfdec_sound.c: (tag_func_sound_stream_block),
	(tag_func_define_sound), (swfdec_sound_mp3_decode_stream):
	* libswfdec/swfdec_sprite.c: (tag_func_define_sprite):
	* libswfdec/swfdec_types.h:
	* test/render.c: (main):

2004-09-13  David Schleef  <ds@schleef.org>

	* libswfdec/swf.c: (swfdec_init), (swfdec_decoder_new): Check
	SWFDEC_DEBUG env var, and call init in decoder_new().

2004-09-13  David Schleef  <ds@schleef.org>

	* configure.ac: export GLIB_REQUIRES
	* glib-compat/glib/gfileutils.c: (g_file_test),
	(g_file_error_quark), (g_file_error_from_errno),
	(get_contents_stdio), (get_contents_regfile), (get_contents_posix),
	(get_contents_win32), (g_mkstemp), (g_file_open_tmp),
	(g_build_pathv), (g_build_path), (g_build_filename),
	(g_file_read_link), (g_readfile_new), (g_readfile_get_length),
	(g_readfile_get_contents), (g_readfile_free): more compat stuff
	* glib-compat/glib/gstrfuncs.c: (g_memdup): same
	* glib-compat/glib/gstrfuncs.h: same

2004-09-13  David Schleef  <ds@schleef.org>

	* .cvsignore:  Some cvsignore files
	* gimp-loader/.cvsignore:
	* glib-compat/.cvsignore:
	* libswfdec/.cvsignore:
	* libswfdec/jpeg/.cvsignore:
	* libswfdec/mpeg/.cvsignore:
	* pixbuf-loader/.cvsignore:
	* player/.cvsignore:
	* plugin/.cvsignore:
	* test/.cvsignore:
	* test/dump.c: (main), (dump_sprite):  oops, these never got added
	* test/render.c: (buffer_free), (main): same

2004-09-13  David Schleef  <ds@schleef.org>

	* configure.ac: Bump soname for liboil and swfdec
	* libswfdec/art.c: (art_rgb_run_alpha_2): adjust for liboil API
	* libswfdec/jpeg/jpeg.c: (jpeg_decoder_decode_entropy_segment): same
	* libswfdec/swf.c: (swfdec_decoder_parse): ERROR->WARNING

2004-09-01  David Schleef  <ds@schleef.org>

	Make more compatibile with glib-compat.
	* Makefile.am:
	* README:
	* configure.ac:
	* gimp-loader/Makefile.am:
	* gimp-loader/swf-gimp.c:
	* libswfdec/Makefile.am:
	* swfdec.pc.in:

	Glib compatibility stuff.  Mostly taken from glib.
	* glib-compat/Makefile.am:
	* glib-compat/glib.h:
	* glib-compat/glib/Makefile.am:
	* glib-compat/glib/config.h:
	* glib-compat/glib/garray.c:
	* glib-compat/glib/garray.h:
	* glib-compat/glib/gdebug.h:
	* glib-compat/glib/gfileutils.c:
	* glib-compat/glib/gfileutils.h:
	* glib-compat/glib/glist.c:
	* glib-compat/glib/glist.h:
	* glib-compat/glib/gmacros.h:
	* glib-compat/glib/gmem.c:
	* glib-compat/glib/gmem.h:
	* glib-compat/glib/gmessages.h:
	* glib-compat/glib/gprintfint.h:
	* glib-compat/glib/gstrfuncs.c:
	* glib-compat/glib/gstrfuncs.h:
	* glib-compat/glib/gtypes.h:
	* glib-compat/glibconfig.h:

2004-09-01  David Schleef  <ds@schleef.org>

	Make less dependent on gobject.  Change API to use SwfdecBuffer.
	* libswfdec/Makefile.am: remove swf.h
	* libswfdec/swf.c: (swfdec_decoder_new), (swfdec_decoder_add_data),
	(swfdec_decoder_add_buffer), (swfdec_decoder_free):
	* libswfdec/swf.h: remove
	* libswfdec/swfdec.h:
	* libswfdec/swfdec_buffer.c: (swfdec_buffer_unref):
	* libswfdec/swfdec_button.c: (tag_func_define_button_2):
	* libswfdec/swfdec_button.h:
	* libswfdec/swfdec_decoder.h:
	* libswfdec/swfdec_font.c: (swfdec_font_dispose),
	(tag_func_define_font), (tag_func_define_font_2):
	* libswfdec/swfdec_image.c: (tag_func_define_bits_jpeg),
	(tag_func_define_bits_jpeg_2), (tag_func_define_bits_jpeg_3),
	(define_bits_lossless):
	* libswfdec/swfdec_object.c: (swfdec_object_new),
	(swfdec_object_unref):
	* libswfdec/swfdec_object.h:
	* libswfdec/swfdec_render.c: (swfdec_render_free): Fix memleak.
	* libswfdec/swfdec_shape.c: (tag_define_shape),
	(tag_define_shape_3):
	* libswfdec/swfdec_sound.c: (tag_func_define_sound),
	(tag_func_sound_stream_head), (swfdec_sound_render),
	(swfdec_sound_chunk_free):
	* libswfdec/swfdec_sprite.c: (tag_func_define_sprite):
	* libswfdec/swfdec_text.c: (swfdec_text_base_init),
	(swfdec_text_class_init), (swfdec_text_init),
	(swfdec_text_dispose), (define_text):
	* pixbuf-loader/io-swf.c: (swf_add_bits):
	* player/swf_play.c: (main), (do_help), (new_gtk_window),
	(fill_audio), (sound_setup), (tv_diff), (fixup_buffer),
	(render_idle_audio), (render_idle_noaudio):
	* test/render-fast.c: (read_swf_file):

2004-08-27  David Schleef  <ds@schleef.org>

	Add mpeg decoding library ripped from ffmpeg.  Doesn't work.
	* libswfdec/mpeg/Makefile.am:
	* libswfdec/mpeg/avcodec.h:
	* libswfdec/mpeg/bswap.h:
	* libswfdec/mpeg/common.h:
	* libswfdec/mpeg/dsputil.h:
	* libswfdec/mpeg/mpeg_config.h:
	* libswfdec/mpeg/mpegaudio.h:
	* libswfdec/mpeg/mpegaudiodec.c: (l1_unscale), (l2_unscale_group),
	(l3_unscale), (int_pow_init), (int_pow), (decode_init), (dct32),
	(round_sample), (synth_filter), (imdct12), (imdct36),
	(check_header), (decode_header), (mpa_decode_header),
	(mp_decode_layer1), (l2_select_table), (mp_decode_layer2),
	(seek_to_maindata), (lsf_sf_expand),
	(exponents_from_scale_factors), (get_bitsz), (huffman_decode),
	(reorder_block), (compute_stereo), (compute_antialias_integer),
	(compute_antialias_float), (compute_imdct), (sample_dump),
	(mp_decode_layer3), (mp_decode_frame), (decode_frame):
	* libswfdec/mpeg/mpegaudiodectab.h:
	* libswfdec/mpeg/rational.h:

2004-08-27  David Schleef  <ds@schleef.org>

	Merge prerender into render.  Use SwfdecBuffer.  Make sprites
	work again.  Make sound work again.  Essentially back up to
	the level of 0.2.2 now.
	* libswfdec/render.c: (swfdec_spriteseg_render):
	* libswfdec/swf.c: (swfdec_decoder_addbits):
	* libswfdec/swfdec.h:
	* libswfdec/swfdec_buffer.c:
	* libswfdec/swfdec_button.c: (swfdec_button_class_init),
	(swfdec_button_render):
	* libswfdec/swfdec_button.h:
	* libswfdec/swfdec_debug.c:
	* libswfdec/swfdec_decoder.h:
	* libswfdec/swfdec_object.h:
	* libswfdec/swfdec_render.c: (swfdec_render_iterate),
	(swfdec_render_get_object_state), (swfdec_render_get_image),
	(swfdec_render_get_audio):
	* libswfdec/swfdec_render.h:
	* libswfdec/swfdec_render_libart.c: (swfdec_shape_render),
	(swfdec_text_render):
	* libswfdec/swfdec_render_libart.h:
	* libswfdec/swfdec_shape.c: (swfdec_shape_class_init),
	(swfdec_shape_compose):
	* libswfdec/swfdec_shape.h:
	* libswfdec/swfdec_sprite.c: (swfdec_sprite_class_init),
	(swfdec_sprite_render), (tag_func_define_sprite):
	* libswfdec/swfdec_sprite.h:
	* libswfdec/swfdec_text.c: (swfdec_text_class_init):
	* libswfdec/swfdec_types.h:

2004-08-26  David Schleef  <ds@schleef.org>

	Add new files
	* libswfdec/swfdec_buffer.c:
	* libswfdec/swfdec_buffer.h:
	* libswfdec/swfdec_render.h:

2004-08-26  David Schleef  <ds@schleef.org>

	Remove these
	* libswfdec/jpeg/conv8x8_f64_s16.h:
	* libswfdec/jpeg/idct8_f64.h:
	* libswfdec/jpeg/idct8x8_f64.h:
	* libswfdec/jpeg/idct8x8_s16.h:
	* libswfdec/jpeg/sl_block8x8.h:
	* libswfdec/jpeg/sl_types.h:
	* libswfdec/jpeg/unzigzag8x8_s16.h:

	rewrite rendering code
	* libswfdec/Makefile.am:
	* libswfdec/render.c: (swf_invalidate_irect):
	* libswfdec/swf.c: (swfdec_decoder_new), (swfdec_decoder_parse),
	(swfdec_decoder_set_colorspace):
	* libswfdec/swfdec_button.c: (swfdec_button_class_init):
	* libswfdec/swfdec_decoder.h:
	* libswfdec/swfdec_internal.h:
	* libswfdec/swfdec_layer.c:
	* libswfdec/swfdec_layer.h:
	* libswfdec/swfdec_render.c: (swfdec_render_new),
	(swfdec_render_free), (swfdec_render_iterate),
	(swfdec_render_seek), (swfdec_render_get_image),
	(swfdec_render_get_audio), (swfdec_spriteseg_prerender),
	(swfdec_layer_render):
	* libswfdec/swfdec_render_libart.c: (swfdec_layervec_render):
	* libswfdec/swfdec_sound.c: (swfdec_decoder_sound_buffer_append),
	(swfdec_sound_render), (swfdec_sound_mp3_decode_stream):
	* libswfdec/swfdec_sound.h:
	* libswfdec/swfdec_types.h:

2004-08-24  David Schleef  <ds@schleef.org>

	Change malloc/free to g_malloc/g_free.
	* libswfdec/actions.c: (action_add), (action_substring),
	(action_string_concat):
	* libswfdec/art.c: (art_bpath_cat), (art_vpath_cat),
	(art_vpath_reverse):
	* libswfdec/jpeg/Makefile.am:
	* libswfdec/jpeg/jpeg.c: (jpeg_decoder_sof_baseline_dct):
	* libswfdec/jpeg/test.c: (getfile):
	* libswfdec/jpeg/test_rgb.c: (main2), (getfile):
	* libswfdec/render.c: (swf_render_frame):
	* libswfdec/swf.c: (swfdec_decoder_parse), (swfdec_decoder_free),
	(swf_parse_header2), (swfdec_decoder_render):
	* libswfdec/swfdec_decoder.h:
	* libswfdec/swfdec_image.c: (tag_func_define_bits_jpeg),
	(tag_func_define_bits_jpeg_2), (tag_func_define_bits_jpeg_3),
	(define_bits_lossless):
	* libswfdec/swfdec_render_libart.c: (swfdec_shape_prerender),
	(swfdec_text_prerender):
	* libswfdec/swfdec_shape.c: (swf_shape_get_recs):
	* libswfdec/swfdec_sound.c: (tag_func_sound_stream_block),
	(swfdec_sound_chunk_free):
	* libswfdec/swfdec_sound.h:
	* libswfdec/swfdec_sprite.c: (swfdec_sprite_dispose),
	(swfdec_sprite_add_sound_chunk), (tag_func_define_sprite):
	* libswfdec/swfdec_sprite.h:
	* libswfdec/swfdec_types.h:

2004-08-11  David Schleef  <ds@schleef.org>

	Lots of hacking.  Modularizing libart dependency.
	* configure.ac:
	* libswfdec/Makefile.am:
	* libswfdec/actions.c: (action_add), (action_subtract),
	(action_multiply), (action_divide), (action_equal),
	(action_less_than), (action_logical_and), (action_logical_or),
	(action_logical_not), (action_string_equal),
	(action_string_length), (action_substring), (action_int),
	(action_string_concat):
	* libswfdec/art.c: (art_svp_make_convex), (art_rgb565_fillrect),
	(art_rgb_fillrect), (swfdec_art_bpath_from_points),
	(art_bpath_affine_transform_inplace):
	* libswfdec/art.h:
	* libswfdec/color.c: (swfdec_color_apply_transform),
	(tag_func_set_background_color):
	* libswfdec/color.h:
	* libswfdec/proto.h:
	* libswfdec/render.c: (swf_invalidate_irect), (tag_place_object_2),
	(tag_remove_object), (tag_remove_object_2), (tag_show_frame),
	(swf_render_frame):
	* libswfdec/swf.c: (swfdec_decoder_new), (swfdec_decoder_addbits),
	(swfdec_decoder_parse), (swfdec_decoder_free),
	(swfdec_decoder_set_image_size), (swfdec_decoder_get_sound_chunk),
	(zalloc), (zfree), (swf_inflate_init), (swf_parse_header2),
	(tag_func_frame_label), (swfdec_decoder_render):
	* libswfdec/swfdec_bits.c: (swfdec_bits_get_color_transform),
	(swfdec_bits_get_transform), (swfdec_bits_get_fill_style):
	* libswfdec/swfdec_bits.h:
	* libswfdec/swfdec_button.c: (swfdec_button_base_init),
	(swfdec_button_class_init), (swfdec_button_init),
	(swfdec_button_dispose), (swfdec_button_prerender),
	(tag_func_define_button_2):
	* libswfdec/swfdec_debug.c: (swfdec_debug_log):
	* libswfdec/swfdec_decoder.h:
	* libswfdec/swfdec_display.c: (tag_func_place_object_2),
	(tag_func_remove_object), (tag_func_remove_object_2):
	* libswfdec/swfdec_font.c: (swfdec_font_base_init),
	(swfdec_font_class_init), (swfdec_font_init),
	(swfdec_font_dispose):
	* libswfdec/swfdec_image.c: (swfdec_image_base_init),
	(swfdec_image_class_init), (swfdec_image_init),
	(swfdec_image_dispose), (zalloc), (zfree), (lossless),
	(swfdec_image_jpegtables), (tag_func_define_bits_jpeg),
	(tag_func_define_bits_jpeg_2), (tag_func_define_bits_jpeg_3),
	(define_bits_lossless):
	* libswfdec/swfdec_internal.h:
	* libswfdec/swfdec_layer.c: (swfdec_layer_free):
	* libswfdec/swfdec_layer.h:
	* libswfdec/swfdec_object.h:
	* libswfdec/swfdec_rect.c: (swfdec_rect_union_to_masked),
	(swfdec_rect_intersect), (swfdec_rect_union), (swfdec_rect_copy),
	(swfdec_rect_is_empty):
	* libswfdec/swfdec_rect.h:
	* libswfdec/swfdec_render_libart.c: (swfdec_layervec_render),
	(art_svp_translate), (art_svp_bbox), (swfdec_shape_prerender),
	(swfdec_text_prerender), (swf_config_colorspace),
	(swfdec_render_layervec_free):
	* libswfdec/swfdec_render_libart.h:
	* libswfdec/swfdec_shape.c: (swfdec_shape_base_init),
	(swfdec_shape_class_init), (swfdec_shape_init),
	(swfdec_shape_dispose), (swfdec_shapevec_free), (get_shape_rec),
	(tag_func_define_shape), (tag_define_shape), (tag_define_shape_3),
	(swf_shape_add_styles), (tag_define_shape_2),
	(swfdec_shape_compose), (swfdec_shape_compose_gradient),
	(swfdec_gradient_to_palette):
	* libswfdec/swfdec_shape.h:
	* libswfdec/swfdec_sound.c: (swfdec_sound_base_init),
	(swfdec_sound_class_init), (swfdec_sound_init),
	(swfdec_sound_dispose), (tag_func_sound_stream_block),
	(tag_func_define_sound), (tag_func_sound_stream_head),
	(get_soundinfo), (tag_func_start_sound),
	(tag_func_define_button_sound), (adpcm_decode),
	(swfdec_sound_mp3_cleanup), (swfdec_sound_mp3_decode):
	* libswfdec/swfdec_sprite.c: (swfdec_sprite_base_init),
	(swfdec_sprite_class_init), (swfdec_sprite_init),
	(swfdec_sprite_dispose), (swfdec_sprite_prerender),
	(swfdec_spriteseg_place_object_2):
	* libswfdec/swfdec_sprite.h:
	* libswfdec/swfdec_text.c: (swfdec_text_get_type), (define_text):
	* libswfdec/swfdec_text.h:
	* libswfdec/swfdec_transform.c: (swfdec_transform_is_translation),
	(swfdec_transform_multiply), (swfdec_transform_invert),
	(swfdec_transform_init_identity), (swfdec_transform_translate),
	(swfdec_transform_get_expansion):
	* libswfdec/swfdec_transform.h:
	* libswfdec/swfdec_types.h:

2004-08-05  David Schleef  <ds@schleef.org>

	* libswfdec/art.c: (swfdec_art_bpath_from_points),
	(art_bpath_affine_transform_inplace): Minor speedup.
	* libswfdec/art.h:

2004-08-05  David Schleef  <ds@schleef.org>

	Store shape points as shorts, not doubles. (Saves 85% memory.)
	* libswfdec/art.c: (swfdec_art_bpath_from_points):
	* libswfdec/art.h:
	* libswfdec/swfdec_shape.c: (swf_shape_vec_new),
	(swf_shape_get_recs), (swfdec_shape_prerender):
	* libswfdec/swfdec_shape.h:
	* libswfdec/swfdec_text.c: (swfdec_text_prerender):

2004-08-04  David Schleef  <ds@schleef.org>

	convert jpeg to liboil
	* libswfdec/Makefile.am:
	* libswfdec/jpeg/Makefile.am:
	* libswfdec/jpeg/huffman.c:
	* libswfdec/jpeg/jpeg.c: (jpeg_decoder_decode_entropy_segment):
	* libswfdec/swf.c: (swfdec_decoder_parse), (tag_func_dumpbits): make
	more quiet.
	* libswfdec/swfdec_bits.h: compile fix

2004-08-03  David Schleef  <ds@schleef.org>

	Fixes for bits_t change
	* libswfdec/internal.h:
	* libswfdec/swfdec_bits.c: (swfdec_bits_needbits):
	* libswfdec/swfdec_debug.c:
	* libswfdec/swfdec_image.c: (lossless),
	(swfdec_image_colormap_decode):
	* libswfdec/swfdec_internal.h:
	* libswfdec/swfdec_sound.c: (swfdec_sound_mp3_decode_stream):

2004-08-02  David Schleef  <ds@schleef.org>

	Global change bits_t -> SwfdecBits.  Prepend swfdec_bits_ to
	all bit related functions.
	* Makefile.am:
	* configure.ac:
	* gimp-loader/swf-gimp.c: (load_dialog):
	* libswfdec/Makefile.am:
	* libswfdec/actions.c: (get_actions),
	(swfdec_action_script_execute):
	* libswfdec/bits.h:
	* libswfdec/color.c: (tag_func_set_background_color):
	* libswfdec/get.c:
	* libswfdec/get.h:
	* libswfdec/proto.h:
	* libswfdec/render.c: (art_place_object_2), (art_remove_object),
	(art_remove_object_2):
	* libswfdec/swf.c: (swfdec_decoder_parse), (dumpbits),
	(swf_parse_header1), (swf_parse_header2), (swf_parse_tag),
	(tag_func_dumpbits), (tag_func_frame_label):
	* libswfdec/swfdec_button.c: (tag_func_define_button_2):
	* libswfdec/swfdec_decoder.h:
	* libswfdec/swfdec_display.c: (tag_func_place_object_2),
	(tag_func_remove_object), (tag_func_remove_object_2):
	* libswfdec/swfdec_font.c: (tag_func_define_font),
	(get_kerning_record), (tag_func_define_font_2):
	* libswfdec/swfdec_image.c: (swfdec_image_jpegtables),
	(tag_func_define_bits_jpeg), (tag_func_define_bits_jpeg_2),
	(tag_func_define_bits_jpeg_3), (define_bits_lossless):
	* libswfdec/swfdec_internal.h:
	* libswfdec/swfdec_shape.c: (get_shape_rec),
	(tag_func_define_shape), (art_define_shape), (art_define_shape_3),
	(swf_shape_add_styles), (swf_shape_get_recs):
	* libswfdec/swfdec_shape.h:
	* libswfdec/swfdec_sound.c: (tag_func_sound_stream_block),
	(tag_func_define_sound), (tag_func_sound_stream_head),
	(get_soundinfo), (tag_func_start_sound),
	(tag_func_define_button_sound), (adpcm_decode):
	* libswfdec/swfdec_sprite.c: (tag_func_define_sprite),
	(swfdec_spriteseg_place_object_2),
	(swfdec_spriteseg_remove_object),
	(swfdec_spriteseg_remove_object_2):
	* libswfdec/swfdec_text.c: (define_text):
	* swfdec.pc.in:
	* test/Makefile.am:
	* test/display-shape.c:

2004-08-02  David Schleef  <ds@schleef.org>

	Lots and lots of hacking.
	* libswfdec/art.c: (art_rgb_run_alpha_2), (art_rgb_fillrect),
	(art_rgb_svp_alpha_compose_callback), (art_rgb_svp_alpha_callback):
	* libswfdec/art.h:
	* libswfdec/mpglib/Makefile.am:
	* libswfdec/mpglib/README:
	* libswfdec/mpglib/clipconv_f32_s16.h:
	* libswfdec/mpglib/common.c:
	* libswfdec/mpglib/dct32_f32.h:
	* libswfdec/mpglib/dct64_i386.c:
	* libswfdec/mpglib/decode_i386.c:
	* libswfdec/mpglib/huffman.h:
	* libswfdec/mpglib/interface.c:
	* libswfdec/mpglib/l2tables.h:
	* libswfdec/mpglib/layer1.c:
	* libswfdec/mpglib/layer2.c:
	* libswfdec/mpglib/layer3.c:
	* libswfdec/mpglib/main.c:
	* libswfdec/mpglib/mpglib.h:
	* libswfdec/mpglib/mpglib_config.h:
	* libswfdec/mpglib/mpglib_internal.h:
	* libswfdec/mpglib/tabinit.c:
	* libswfdec/render.c: (swf_render_frame):
	* libswfdec/sound.c:
	* libswfdec/swf.c: (swfdec_init), (swfdec_decoder_new),
	(swfdec_decoder_eof), (swfdec_decoder_free),
	(swfdec_decoder_set_image_size), (swf_inflate_init),
	(swf_parse_header2), (swf_parse_tag), (swfdec_decoder_render):
	* libswfdec/swfdec.h:
	* libswfdec/swfdec_decoder.h:
	* libswfdec/swfdec_image.c: (swfdec_image_dispose):
	* libswfdec/swfdec_layer.c: (swfdec_render_get_layer),
	(swfdec_layervec_render):
	* libswfdec/swfdec_shape.c: (swfdec_shape_get_fill0style),
	(swfdec_shape_get_fill1style), (swfdec_shape_get_linestyle),
	(swf_shape_get_recs), (swfdec_shape_prerender):
	* libswfdec/swfdec_sound.c: (tag_func_sound_stream_block),
	(tag_func_define_sound), (tag_func_sound_stream_head),
	(swfdec_sound_mp3_init), (swfdec_sound_mp3_decode),
	(swfdec_sound_mp3_decode_stream):
	* libswfdec/swfdec_sprite.c: (swfdec_sprite_dispose),
	(swfdec_sprite_prerender), (tag_func_define_sprite),
	(swfdec_spriteseg_remove_object),
	(swfdec_spriteseg_remove_object_2):
	* libswfdec/swfdec_text.c: (define_text), (swfdec_text_prerender):
	* swfdec.pc.in:
	* test/Makefile.am:

2004-07-02  David Schleef  <ds@schleef.org>

	* libswfdec/Makefile.am:  Don't use mpglib
	* libswfdec/swf.c: (swf_parse_tag):
	* libswfdec/swfdec_debug.c:
	* libswfdec/swfdec_object.c: (swfdec_object_dump):
	* libswfdec/swfdec_object.h:
	* test/Makefile.am:

2004-06-05  David Schleef  <ds@schleef.org>

	* libswfdec/Makefile.am: Global change from SWF_DEBUG to SWFDEC_LOG,
	SWFDEC_DEBUG, etc.
	* libswfdec/actions.c: (get_actions),
	(swfdec_action_script_execute):
	* libswfdec/color.c: (transform_color):
	* libswfdec/render.c: (art_place_object_2), (swf_render_frame),
	(swfdec_spriteseg_prerender):
	* libswfdec/sound.c: (tag_func_sound_stream_block),
	(tag_func_define_sound), (tag_func_sound_stream_head),
	(swfdec_sound_render):
	* libswfdec/swf.c: (swfdec_decoder_new), (swfdec_decoder_parse),
	(swf_parse_header2), (swf_parse_tag), (tag_func_ignore):
	* libswfdec/swfdec_button.c: (tag_func_define_button_2):
	* libswfdec/swfdec_debug.c: (swfdec_debug_log),
	(swfdec_debug_set_level), (swfdec_debug_get_level):
	* libswfdec/swfdec_debug.h:
	* libswfdec/swfdec_decoder.h:
	* libswfdec/swfdec_font.c: (tag_func_define_font),
	(tag_func_define_font_2):
	* libswfdec/swfdec_image.c: (swfdec_image_jpegtables),
	(tag_func_define_bits_jpeg), (tag_func_define_bits_jpeg_2),
	(tag_func_define_bits_jpeg_3), (define_bits_lossless):
	* libswfdec/swfdec_internal.h:
	* libswfdec/swfdec_object.c: (swfdec_object_get):
	* libswfdec/swfdec_shape.c: (tag_func_define_shape),
	(art_define_shape), (art_define_shape_3), (swf_shape_add_styles),
	(swf_shape_get_recs), (swfdec_shape_prerender),
	(swfdec_shape_compose), (swfdec_shape_compose_gradient):
	* libswfdec/swfdec_sound.c: (tag_func_sound_stream_block),
	(tag_func_define_sound), (tag_func_sound_stream_head),
	(swfdec_sound_render):
	* libswfdec/swfdec_sprite.c: (swfdec_sprite_prerender),
	(swfdec_sprite_render), (tag_func_define_sprite),
	(swfdec_spriteseg_place_object_2):

2004-06-05  David Schleef  <ds@schleef.org>

	* COPYING: switch to LGPL
	* INSTALL: unknown 
	* autogen.sh: bump libtool to 1.5
	* compile: remove
	* configure.ac: add majorminor
	* depcomp: remove
	* install-sh: remove
	* libswfdec/Makefile.am: hacking
	* libswfdec/proto.h:
	* libswfdec/render.c: (art_show_frame), (swf_render_frame),
	(swfdec_spriteseg_prerender):
	* libswfdec/swfdec_button.c: (swfdec_button_class_init),
	(tag_func_define_button_2):
	* libswfdec/swfdec_button.h:
	* libswfdec/swfdec_font.c: (tag_func_define_font),
	(tag_func_define_font_2):
	* libswfdec/swfdec_image.c: (tag_func_define_bits_jpeg),
	(tag_func_define_bits_jpeg_2), (tag_func_define_bits_jpeg_3),
	(define_bits_lossless):
	* libswfdec/swfdec_object.c: (swfdec_object_class_init),
	(swfdec_object_get):
	* libswfdec/swfdec_object.h:
	* libswfdec/swfdec_shape.c: (swfdec_shape_class_init),
	(art_define_shape), (art_define_shape_3):
	* libswfdec/swfdec_shape.h:
	* libswfdec/swfdec_sound.c: (tag_func_define_sound),
	(tag_func_sound_stream_head):
	* libswfdec/swfdec_sprite.c: (swfdec_sprite_class_init),
	(swfdec_sprite_render), (tag_func_define_sprite):
	* libswfdec/swfdec_sprite.h:
	* libswfdec/swfdec_text.c: (swfdec_text_class_init), (define_text):
	* libswfdec/swfdec_text.h:
	* libswfdec/version_script: remove
	* missing: remove
	* mkinstalldirs: remove

2004-04-20  David Schleef  <ds@schleef.org>

	Cleanups.
	* libswfdec/swfdec_button.c: (tag_func_define_button_2):
	* libswfdec/swfdec_font.c: (tag_func_define_font),
	(tag_func_define_font_2):
	* libswfdec/swfdec_image.c: (tag_func_define_bits_jpeg),
	(tag_func_define_bits_jpeg_2), (tag_func_define_bits_jpeg_3),
	(define_bits_lossless):
	* libswfdec/swfdec_shape.c: (art_define_shape),
	(art_define_shape_3):
	* libswfdec/swfdec_sound.c: (tag_func_define_sound),
	(tag_func_sound_stream_head):
	* libswfdec/swfdec_sprite.c: (tag_func_define_sprite):
	* libswfdec/swfdec_text.c: (define_text):
	* player/swf_play.c: (render_idle), (convert_image):

2004-04-20  David Schleef  <ds@schleef.org>

	Fixes to get swfdec compiling and semi-working again.
	* configure.ac:
	* libswfdec/swf.c: (swfdec_decoder_new):
	* libswfdec/swfdec_button.c: (swfdec_button_get_type):
	* libswfdec/swfdec_button.h:
	* libswfdec/swfdec_font.c: (swfdec_font_get_type),
	(tag_func_define_font), (tag_func_define_font_2):
	* libswfdec/swfdec_font.h:
	* libswfdec/swfdec_image.c: (swfdec_image_get_type):
	* libswfdec/swfdec_image.h:
	* libswfdec/swfdec_object.c:
	* libswfdec/swfdec_object.h:
	* libswfdec/swfdec_shape.c: (swfdec_shape_get_type),
	(swfdec_shape_init):
	* libswfdec/swfdec_shape.h:
	* libswfdec/swfdec_sprite.c: (tag_func_define_sprite):
	* libswfdec/swfdec_sprite.h:
	* libswfdec/swfdec_text.c: (swfdec_text_init):

2004-02-25  David Schleef  <ds@schleef.org>

	* configure.ac: Add liboil dependency.
	* libswfdec/Makefile.am: Add liboil dependency.
	* libswfdec/art.c: (art_rgb_svp_alpha2), (art_rgb_fill_run),
	(art_rgb_run_alpha), (compose_const_rgb888_u8_ref),
	(compose_const_rgb888_u8_fast), (compose_rgb888_u8_ref),
	(compose_const_rgb888_rgb888_ref), (compose_rgb888_rgb888_ref),
	(art_rgb_svp_alpha_callback): Convert to 32-bit RGB colorspace.
	* libswfdec/color.c: (swf_config_colorspace): same
	* libswfdec/jpeg/jpeg_rgb_decoder.c: (convert): same
	* libswfdec/shape.c: (swfdec_gradient_to_palette): same
	* libswfdec/swf.c: (swfdec_decoder_new): same
	* libswfdec/swfdec_image.c: (define_bits_lossless),
	(swfdec_image_colormap_decode): same

