1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-06 08:29:25 +02:00

long awaited simple libavformat output API example

Originally committed as revision 2069 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Fabrice Bellard
2003-07-22 12:46:15 +00:00
parent 6a6362f088
commit 8de65d4f11
2 changed files with 355 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ endif
endif
PROG=ffmpeg$(EXE)
PROGTEST=output_example$(EXE)
ifeq ($(CONFIG_FFSERVER),yes)
PROG+=ffserver$(EXE)
@@ -75,7 +76,7 @@ OBJS = ffmpeg.o ffserver.o cmdutils.o ffplay.o
SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s)
FFLIBS = -L./libavformat -lavformat -L./libavcodec -lavcodec
all: lib $(PROG) $(VHOOK)
all: lib $(PROG) $(PROGTEST) $(VHOOK)
lib: $(AMRLIBS)
$(MAKE) -C libavcodec all
@@ -98,6 +99,9 @@ ffplay$(EXE): ffplay_g$(EXE)
cp -p $< $@
$(STRIP) $@
output_example$(EXE): output_example.o .libs
$(CC) $(LDFLAGS) -o $@ output_example.o $(FFLIBS) $(EXTRALIBS)
ffplay.o: ffplay.c
$(CC) $(CFLAGS) $(SDL_CFLAGS) -c -o $@ $<