[vlc-commits] vdpau: Remove unused function

Hugo Beauzée-Luyssen git at videolan.org
Sun Nov 1 13:49:55 CET 2015


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sun Nov  1 13:05:58 2015 +0100| [a286b2aa6ce44f10849b815af2c8ec16784b539e] | committer: Hugo Beauzée-Luyssen

vdpau: Remove unused function

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

 modules/hw/vdpau/chroma.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/hw/vdpau/chroma.c b/modules/hw/vdpau/chroma.c
index 4d91737..c21d0ef 100644
--- a/modules/hw/vdpau/chroma.c
+++ b/modules/hw/vdpau/chroma.c
@@ -418,12 +418,6 @@ drop:
     return NULL;
 }
 
-static inline VdpVideoSurface picture_GetVideoSurface(const picture_t *pic)
-{
-    vlc_vdp_video_field_t *field = pic->context;
-    return field->frame->surface;
-}
-
 static picture_t *Render(filter_t *filter, picture_t *src, bool import)
 {
     filter_sys_t *sys = filter->p_sys;



More information about the vlc-commits mailing list