diff -Naurp ffmpeg-0.4.9-p20050226-shared.orig/libavformat/Makefile ffmpeg-0.4.9-p20050226-shared/libavformat/Makefile --- ffmpeg-0.4.9-p20050226-shared.orig/libavformat/Makefile 2005-04-25 16:55:04.000000000 -0700 +++ ffmpeg-0.4.9-p20050226-shared/libavformat/Makefile 2005-04-25 17:12:05.000000000 -0700 @@ -46,6 +46,7 @@ endif ifeq ($(CONFIG_DC1394),yes) OBJS+= dc1394.o +EXTRALIBS+=-ldc1394_control -lraw1394 endif ifeq ($(CONFIG_AUDIO_OSS),yes) @@ -69,6 +70,7 @@ endif ifeq ($(CONFIG_LIBOGG),yes) OBJS+= ogg.o +EXTRALIBS+= -logg endif ifeq ($(TARGET_ARCH_SPARC64),yes) diff -Naurp ffmpeg-0.4.9-p20050226-shared.orig/Makefile ffmpeg-0.4.9-p20050226-shared/Makefile --- ffmpeg-0.4.9-p20050226-shared.orig/Makefile 2005-02-24 07:18:02.000000000 -0800 +++ ffmpeg-0.4.9-p20050226-shared/Makefile 2005-04-25 17:54:56.000000000 -0700 @@ -53,10 +53,18 @@ EXTRALIBS+= -ltheora endif endif +ifeq ($(CONFIG_AC3),yes) +ifneq ($(CONFIG_A52BIN),yes) +EXTRALIBS += -la52 +endif +endif + +ifeq ($(CONFIG_DTS),yes) +EXTRALIBS += -ldts +endif + ifeq ($(CONFIG_FAAD),yes) -ifeq ($(CONFIG_FAADBIN),yes) -# no libs needed -else +ifneq ($(CONFIG_FAADBIN),yes) EXTRALIBS += -lfaad endif endif