[vlc-devel] commit: Fix compilation of blendbench (Jean-Paul Saman )

git version control git at videolan.org
Wed Apr 9 12:44:49 CEST 2008


vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Wed Mar 26 12:58:41 2008 +0100| [614be05362c0ea4bfc2e9bba5f7ba9cfaac55a34]

Fix compilation of blendbench

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

 modules/video_filter/blendbench.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/modules/video_filter/blendbench.c b/modules/video_filter/blendbench.c
index 181b1e3..5d71bc7 100644
--- a/modules/video_filter/blendbench.c
+++ b/modules/video_filter/blendbench.c
@@ -24,6 +24,11 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <errno.h>
 #include <stdlib.h>                                      /* malloc(), free() */
 #include <string.h>
@@ -242,7 +247,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
     module_Unneed( p_blend, p_blend->p_module );
 
     vlc_object_detach( p_blend );
-    vlc_object_destroy( p_blend );
+    vlc_object_release( p_blend );
 
     p_sys->b_done = VLC_TRUE;
     return p_pic;




More information about the vlc-devel mailing list