changeset 13397:6cfffb50ea42

This patch enables the compilation and linking of vo_pnm (the portable anymap video output driver) to libvo.
author ivo
date Mon, 20 Sep 2004 01:31:26 +0000
parents 56b035c6514b
children ae4e34f267bb
files libvo/Makefile libvo/video_out.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/Makefile	Mon Sep 20 01:28:32 2004 +0000
+++ b/libvo/Makefile	Mon Sep 20 01:31:26 2004 +0000
@@ -3,7 +3,7 @@
 
 LIBNAME = libvo.a
 
-SRCS=geometry.c aspect.c aclib.c osd.c font_load.c gtf.c spuenc.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_mpegpes.c vo_yuv4mpeg.c $(OPTIONAL_SRCS) sub.c font_load_ft.c
+SRCS=geometry.c aspect.c aclib.c osd.c font_load.c gtf.c spuenc.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_mpegpes.c vo_yuv4mpeg.c $(OPTIONAL_SRCS) sub.c font_load_ft.c vo_pnm.c
 OBJS=$(SRCS:.c=.o)
 
 ifeq ($(VIDIX),yes)
--- a/libvo/video_out.c	Mon Sep 20 01:28:32 2004 +0000
+++ b/libvo/video_out.c	Mon Sep 20 01:31:26 2004 +0000
@@ -124,6 +124,7 @@
 #ifdef MACOSX
 extern vo_functions_t video_out_quartz;
 #endif
+extern vo_functions_t video_out_pnm;
 
 vo_functions_t* video_out_drivers[] =
 {
@@ -240,6 +241,7 @@
 #ifdef HAVE_TGA
         &video_out_tga,
 #endif
+    &video_out_pnm,
         NULL
 };