changeset 26583:6559b9364ca3

Add compilation rule for libvo/aspecttest and (hackishly) fix linking.
author diego
date Wed, 30 Apr 2008 14:29:17 +0000
parents 62ac4f8062ee
children f865a9546178
files Makefile libvo/aspecttest.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Apr 30 14:16:22 2008 +0000
+++ b/Makefile	Wed Apr 30 14:29:17 2008 +0000
@@ -800,6 +800,8 @@
 
 liba52/test$(EXESUF): liba52/test.c cpudetect.o $(filter liba52/%,$(SRCS_COMMON:.c=.o))
 
+libvo/aspecttest$(EXESUF): libvo/aspecttest.c libvo/aspect.o libvo/geometry.o mp_msg-mencoder.o mp_fifo.o osdep/$(GETCH) osdep/$(TIMER) -ltermcap -lm
+
 LOADER_TEST_OBJS = $(filter loader/%,$(SRCS_COMMON:.c=.o)) libmpdemux/aviprint.o cpudetect.o mp_msg.o mp_fifo.o osdep/mmap_anon.o osdep/$(GETCH) osdep/$(TIMER) -ltermcap -lm
 
 loader/qtx/list$(EXESUF) loader/qtx/qtxload$(EXESUF): CFLAGS += -g
--- a/libvo/aspecttest.c	Wed Apr 30 14:16:22 2008 +0000
+++ b/libvo/aspecttest.c	Wed Apr 30 14:29:17 2008 +0000
@@ -11,6 +11,8 @@
 #define DEF_ZOOM 1
 
 extern float monitor_aspect;
+int vo_fs;
+float vo_panscan;
 
 int main(int argc, char *argv[]) {
   int w,h,z=DEF_ZOOM;