Mercurial > mplayer.hg
annotate libmpeg2/Makefile @ 7732:328bbac6224c
Fixes:
- missing check in init
- missing brackets causing failure
- nas_aformat_to_auformat not working properly
- fix hang that was finally reproducible with high disk activity
- don't cut of audio on uninit(), wait for buffer to empty
It also simplifies the event_handler, making it more readable and
implements Sidik Isani's suggestion to make the buffer size dependent on
bytes per second. I've been using it for two days and found no further
problems.
patch by Tobias Diedrich <td@sim.uni-hannover.de>
author | arpi |
---|---|
date | Sun, 13 Oct 2002 22:00:15 +0000 |
parents | 0cdc1388f02f |
children | 47984e3f54ce |
rev | line source |
---|---|
1 | 1 |
2 LIBNAME = libmpeg2.a | |
3 | |
4 include ../config.mak | |
5 | |
1680
f6d2a4bc9bb5
Enable mediaLib support for Solaris on UltraSPARC CPUs
jkeil
parents:
1234
diff
changeset
|
6 SRCS = header.c idct.c idct_mmx.c idct_mlib.c \ |
f6d2a4bc9bb5
Enable mediaLib support for Solaris on UltraSPARC CPUs
jkeil
parents:
1234
diff
changeset
|
7 motion_comp.c motion_comp_mmx.c motion_comp_mlib.c \ |
5515 | 8 slice.c stats.c # decode.c |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
36
diff
changeset
|
9 OBJS = $(SRCS:.c=.o) |
1680
f6d2a4bc9bb5
Enable mediaLib support for Solaris on UltraSPARC CPUs
jkeil
parents:
1234
diff
changeset
|
10 INCLUDE = -I. -I../libvo -I.. $(EXTRA_INC) $(MLIB_INC) |
27 | 11 CFLAGS = $(OPTFLAGS) $(INCLUDE) -DMPG12PLAY |
1 | 12 |
13 .SUFFIXES: .c .o | |
14 | |
15 # .PHONY: all clean | |
16 | |
17 .c.o: | |
27 | 18 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 19 |
1010 | 20 $(LIBNAME): $(OBJS) |
1 | 21 $(AR) r $(LIBNAME) $(OBJS) |
22 | |
23 all: $(LIBNAME) | |
24 | |
25 clean: | |
26 rm -f *.o *.a *~ | |
27 | |
28 distclean: | |
27 | 29 rm -f Makefile.bak *.o *.a *~ .depend |
1 | 30 |
27 | 31 dep: depend |
1 | 32 |
1010 | 33 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
36
diff
changeset
|
34 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
1 | 35 |
27 | 36 # |
37 # include dependency files if they exist | |
38 # | |
39 ifneq ($(wildcard .depend),) | |
40 include .depend | |
41 endif |