DATA_FILES := $(wildcard $(SRC_DIR)/ffpresets/*.ffpreset)
-EXAMPLES = output_example$(EXESUF)
-
include common.mak
FF_LDFLAGS := $(FFLDFLAGS)
%_g$(EXESUF): %.o cmdutils.o $(FF_DEP_LIBS)
$(CC) $(FF_LDFLAGS) -o $@ $< cmdutils.o $(FF_EXTRALIBS)
-output_example$(EXESUF): output_example.o $(FF_DEP_LIBS)
- $(CC) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS)
-
tools/%$(EXESUF): tools/%.c
$(CC) $(CFLAGS) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS)
@item Write the source code for your application, or, for testing, just
copy the code from an existing sample application into the source file
that MSVC++ has already created for you. For example, you can copy
-@file{output_example.c} from the FFmpeg distribution.
+@file{libavformat/output-example.c} from the FFmpeg distribution.
@item Open the "Project / Properties" dialog box. In the "Configuration"
combo box, select "All Configurations" so that the changes you make will
@item libavformat is the library containing the file format handling (mux and
demux code for several formats). Look at @file{ffplay.c} to use it in a
-player. See @file{output_example.c} to use it to generate audio or video
-streams.
+player. See @file{libavformat/output-example.c} to use it to generate
+audio or video streams.
@end itemize
OBJS-$(CONFIG_TCP_PROTOCOL) += tcp.o
OBJS-$(CONFIG_UDP_PROTOCOL) += udp.o
+EXAMPLES = output-example
TESTPROGS = timefilter
+$(SUBDIR)output-example$(EXESUF): $(FF_DEP_LIBS)
+
include $(SUBDIR)../subdir.mak