Mercurial > mplayer.hg
view libvo/Makefile @ 23212:c932f521344d
In ass_font_new, allocate temporary ass_font_t on stack and return the pointer
to cache-owned copy. This fixes leaked ass_font_t struct.
Without this, font pointers obtained from ass_font_new() and
ass_font_cache_find() were different, and bitmaps rendered with the first one
could not be located in the cache later.
author | eugeni |
---|---|
date | Thu, 03 May 2007 19:26:43 +0000 |
parents | 03107c6ea534 |
children | d484cdfcb8a8 |
line wrap: on
line source
include ../config.mak LIBNAME_COMMON = libosd.a LIBNAME_MPLAYER = libvo.a SRCS_MPLAYER = aspect.c \ geometry.c \ spuenc.c \ video_out.c \ vo_mpegpes.c \ vo_null.c \ vo_yuv4mpeg.c \ $(VO_SRCS) \ SRCS_MPLAYER-$(VIDIX) += vosub_vidix.c SRCS_COMMON = aclib.c \ osd.c \ sub.c \ SRCS_COMMON-$(BITMAP_FONT) += font_load.c SRCS_COMMON-$(FREETYPE) += font_load_ft.c include ../mpcommon.mak %.o: %.m $(CC) $(CFLAGS) -c -o $@ $<