Commit 2744a37f authored by Fabrice Bellard's avatar Fabrice Bellard

added new ffplay program


Originally committed as revision 143 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5ed8fafc
...@@ -15,7 +15,7 @@ EXE=.exe ...@@ -15,7 +15,7 @@ EXE=.exe
PROG=ffmpeg$(EXE) PROG=ffmpeg$(EXE)
else else
EXT= EXT=
PROG=ffmpeg ffserver PROG=ffmpeg ffplay ffserver
endif endif
all: lib $(PROG) all: lib $(PROG)
...@@ -30,11 +30,15 @@ ffmpeg$(EXE): ffmpeg.o libav/libav.a libavcodec/libavcodec.a ...@@ -30,11 +30,15 @@ ffmpeg$(EXE): ffmpeg.o libav/libav.a libavcodec/libavcodec.a
ffserver$(EXE): ffserver.o libav/libav.a libavcodec/libavcodec.a ffserver$(EXE): ffserver.o libav/libav.a libavcodec/libavcodec.a
$(CC) $(LDFLAGS) -o $@ $^ -lm $(CC) $(LDFLAGS) -o $@ $^ -lm
ffplay: ffmpeg$(EXE)
ln -sf $< $@
%.o: %.c %.o: %.c
$(CC) $(CFLAGS) -c -o $@ $< $(CC) $(CFLAGS) -c -o $@ $<
install: all install: all
install -s -m 755 $(PROG) $(prefix)/bin install -s -m 755 $(PROG) $(prefix)/bin
ln -sf ffmpeg $(prefix)/bin/ffplay
clean: clean:
$(MAKE) -C libavcodec clean $(MAKE) -C libavcodec clean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment