[vlc-commits] commit: Removed picture_heap_t::pf_setpalette (Laurent Aimar )

git at videolan.org git at videolan.org
Sun Apr 18 15:03:14 CEST 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Apr 18 03:06:57 2010 +0200| [8a1ee23adf32c880c24734432069b84a4dda0f83] | committer: Laurent Aimar 

Removed picture_heap_t::pf_setpalette

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8a1ee23adf32c880c24734432069b84a4dda0f83
---

 include/vlc_vout.h              |    3 ---
 src/video_output/vout_wrapper.c |    1 -
 2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/include/vlc_vout.h b/include/vlc_vout.h
index fdae82a..183bcf6 100644
--- a/include/vlc_vout.h
+++ b/include/vlc_vout.h
@@ -62,9 +62,6 @@ struct picture_heap_t
     uint32_t i_rmask; int i_rrshift, i_lrshift;
     uint32_t i_gmask; int i_rgshift, i_lgshift;
     uint32_t i_bmask; int i_rbshift, i_lbshift;
-
-    /** Stuff used for palettized RGB planes */
-    void (* pf_setpalette) ( vout_thread_t *, uint16_t *, uint16_t *, uint16_t * );
 };
 
 /*****************************************************************************
diff --git a/src/video_output/vout_wrapper.c b/src/video_output/vout_wrapper.c
index 888d6f6..e9f42cf 100644
--- a/src/video_output/vout_wrapper.c
+++ b/src/video_output/vout_wrapper.c
@@ -153,7 +153,6 @@ int vout_InitWrapper(vout_thread_t *vout)
     vout->output.i_rmask  = source.i_rmask;
     vout->output.i_gmask  = source.i_gmask;
     vout->output.i_bmask  = source.i_bmask;
-    vout->output.pf_setpalette = NULL; /* FIXME What to do ? Seems unused anyway */
 
     /* also set fmt_out (completly broken API) */
     vout->fmt_out.i_chroma         = vout->output.i_chroma;



More information about the vlc-commits mailing list