Mercurial > mplayer.hg
view stream/Makefile @ 24851:e36efda34616
Our enca code uses strdup() on the input encoding name, as we don't modify it we can use the original constant string.
Uses less memory, code is simpler and faster.
Fixes memory leak (noticed by ulion).
author | iive |
---|---|
date | Sun, 28 Oct 2007 14:26:05 +0000 |
parents | d81eef9beb1b |
children | 0ad5f1789b54 |
line wrap: on
line source
include ../config.mak LIBNAME_COMMON = stream.a SRCS_COMMON = open.c \ stream.c \ stream_cue.c \ stream_file.c \ stream_mf.c \ stream_null.c \ url.c \ SRCS_COMMON-$(CDDA) += stream_cdda.c cdinfo.c SRCS_COMMON-$(CDDB) += stream_cddb.c SRCS_COMMON-$(DVBIN) += dvb_tune.c stream_dvb.c SRCS_COMMON-$(DVDNAV) += stream_dvdnav.c SRCS_COMMON-$(DVDREAD) += stream_dvd.c stream_dvd_common.c SRCS_COMMON-$(FTP) += stream_ftp.c SRCS_COMMON-$(LIBSMBCLIENT) += stream_smb.c SRCS_COMMON-$(MPLAYER_NETWORK) += stream_netstream.c \ asf_mmst_streaming.c \ asf_streaming.c \ cookies.c \ http.c \ network.c \ pnm.c \ rtp.c \ udp.c \ tcp.c \ stream_rtp.c \ stream_udp.c \ realrtsp/asmrp.c \ realrtsp/real.c \ realrtsp/rmff.c \ realrtsp/sdpplin.c \ realrtsp/xbuffer.c \ SRCS_COMMON-$(NATIVE_RTSP) += stream_rtsp.c \ freesdp/common.c \ freesdp/errorlist.c \ freesdp/parser.c \ librtsp/rtsp.c \ librtsp/rtsp_rtp.c \ librtsp/rtsp_session.c \ SRCS_COMMON-$(LIBNEMESI) += stream_nemesi.c SRCS_COMMON-$(PVR) += stream_pvr.c SRCS_COMMON-$(RADIO) += stream_radio.c SRCS_COMMON-$(RADIO_CAPTURE) += audio_in.c SRCS_COMMON-$(STREAM_CACHE) += cache2.c SRCS_COMMON-$(STREAMING_LIVE555) += stream_livedotcom.c SRCS_COMMON-$(TV) += stream_tv.c tv.c frequencies.c tvi_dummy.c SRCS_COMMON-$(TV_BSDBT848) += tvi_bsdbt848.c SRCS_COMMON-$(TV_DSHOW) += tvi_dshow.c SRCS_COMMON-$(TV_TELETEXT) += tvi_vbi.c SRCS_COMMON-$(TV_V4L1) += tvi_v4l.c audio_in.c SRCS_COMMON-$(TV_V4L2) += tvi_v4l2.c audio_in.c SRCS_COMMON-$(VCD) += stream_vcd.c SRCS_COMMON-$(VSTREAM) += stream_vstream.c ifeq ($(AUDIO_INPUT),yes) SRCS_COMMON-$(ALSA1X) += ai_alsa1x.c SRCS_COMMON-$(ALSA9) += ai_alsa.c SRCS_COMMON-$(OSS) += ai_oss.c endif include ../mpcommon.mak clean:: rm -f realrtsp/*.o realrtsp/*.a realrtsp/*~ \ librtsp/*.o librtsp/*.a librtsp/*~ \ freesdp/*.o freesdp/*.a freesdp/*~