view libvo/Makefile @ 25444:acaa10e43c52

Move ds->current=NULL; further up to the free_demux_packet. This does not change behaviour in the normal case but avoids a double-free if the function is aborted via a signal handler.
author reimar
date Thu, 20 Dec 2007 11:21:02 +0000
parents b0454664f1e0
children 03e503db705a
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 $@ $<

vo_png.o: CFLAGS := $(filter-out -I../libavcodec,$(CFLAGS))