[vlc-devel] commit: Don't assert. (Antoine Cellerier )

git version control git at videolan.org
Sat Jun 28 23:56:35 CEST 2008


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Sat Jun 28 23:58:29 2008 +0200| [470ba2c1ea11b8b11fda606ff0279fad11e6c4a2]

Don't assert.

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

 modules/misc/freetype.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/misc/freetype.c b/modules/misc/freetype.c
index 35a6461..421c3e9 100644
--- a/modules/misc/freetype.c
+++ b/modules/misc/freetype.c
@@ -380,7 +380,7 @@ static int Create( vlc_object_t *p_this )
          */
 
         p_fontbuilder = vlc_object_create( p_filter->p_libvlc,
-                                           VLC_OBJECT_GENERIC );
+                                           sizeof(vlc_object_t) );
         if( p_fontbuilder )
         {
             p_fontbuilder->psz_object_name = strdup( "fontlist builder" );




More information about the vlc-devel mailing list