[vlc-commits] display: inline one trivial function
Rémi Denis-Courmont
git at videolan.org
Sat Jan 12 15:09:45 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jan 2 15:10:04 2019 +0200| [1d9d170be374eff3c94e6db2b2c0414b88145e29] | committer: Rémi Denis-Courmont
display: inline one trivial function
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1d9d170be374eff3c94e6db2b2c0414b88145e29
---
src/video_output/display.c | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)
diff --git a/src/video_output/display.c b/src/video_output/display.c
index 805804dd5d..9b2d9fe0ce 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -709,11 +709,11 @@ void vout_SetDisplayViewpoint(vout_display_t *vd,
}
}
-static vout_display_t *DisplayNew(vlc_object_t *parent,
- const video_format_t *source,
- const vout_display_cfg_t *cfg,
- const char *module,
- const vout_display_owner_t *owner)
+vout_display_t *vout_display_New(vlc_object_t *parent,
+ const video_format_t *source,
+ const vout_display_cfg_t *cfg,
+ const char *module,
+ const vout_display_owner_t *owner)
{
vout_display_priv_t *osys = vlc_custom_create(parent, sizeof (*osys),
"vout display");
@@ -810,12 +810,3 @@ void vout_display_Delete(vout_display_t *vd)
video_format_Clean(&vd->fmt);
vlc_object_release(vd);
}
-
-vout_display_t *vout_display_New(vlc_object_t *parent,
- const video_format_t *source,
- const vout_display_cfg_t *cfg,
- const char *module,
- const vout_display_owner_t *owner)
-{
- return DisplayNew(parent, source, cfg, module, owner);
-}
More information about the vlc-commits
mailing list