# HG changeset patch # User diego # Date 1209565757 0 # Node ID 6559b9364ca3d43f446f60d93c325fdcfed7d617 # Parent 62ac4f8062ee56e494433593dc959ba56b9a180f Add compilation rule for libvo/aspecttest and (hackishly) fix linking. diff -r 62ac4f8062ee -r 6559b9364ca3 Makefile --- 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 diff -r 62ac4f8062ee -r 6559b9364ca3 libvo/aspecttest.c --- 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;