Issue #1446 - fix --disable-cwc checks.
This commit is contained in:
parent
496808bbd4
commit
d9dae65bbb
4 changed files with 11 additions and 5 deletions
2
Makefile
2
Makefile
|
@ -177,8 +177,10 @@ SRCS-${CONFIG_CWC} += src/cwc.c \
|
|||
ifneq ($(CONFIG_DVBCSA),yes)
|
||||
SRCS-${CONFIG_CWC} += src/ffdecsa/ffdecsa_interface.c \
|
||||
src/ffdecsa/ffdecsa_int.c
|
||||
ifeq ($(CONFIG_CWC),yes)
|
||||
SRCS-${CONFIG_MMX} += src/ffdecsa/ffdecsa_mmx.c
|
||||
SRCS-${CONFIG_SSE2} += src/ffdecsa/ffdecsa_sse2.c
|
||||
endif
|
||||
${BUILDDIR}/src/ffdecsa/ffdecsa_mmx.o : CFLAGS += -mmmx
|
||||
${BUILDDIR}/src/ffdecsa/ffdecsa_sse2.o : CFLAGS += -msse2
|
||||
endif
|
||||
|
|
|
@ -534,7 +534,9 @@ static int
|
|||
dvb_ca_callback(th_dvb_mux_instance_t *tdmi, uint8_t *ptr, int len,
|
||||
uint8_t tableid, void *opaque)
|
||||
{
|
||||
#if ENABLE_CWC
|
||||
cwc_emm(ptr, len, (uintptr_t)opaque, (void *)tdmi);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
10
src/main.c
10
src/main.c
|
@ -470,9 +470,13 @@ main(int argc, char **argv)
|
|||
|
||||
serviceprobe_init();
|
||||
|
||||
#if ENABLE_CWC
|
||||
cwc_init();
|
||||
|
||||
capmt_init();
|
||||
#if (!ENABLE_DVBCSA)
|
||||
ffdecsa_init();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
epggrab_init();
|
||||
epg_init();
|
||||
|
@ -481,10 +485,6 @@ main(int argc, char **argv)
|
|||
|
||||
htsp_init();
|
||||
|
||||
#if (!ENABLE_DVBCSA)
|
||||
ffdecsa_init();
|
||||
#endif
|
||||
|
||||
if(rawts_input != NULL)
|
||||
rawts_init(rawts_input);
|
||||
|
||||
|
|
|
@ -208,8 +208,10 @@ service_start(service_t *t, unsigned int weight, int force_start)
|
|||
if((r = t->s_start_feed(t, weight, force_start)))
|
||||
return r;
|
||||
|
||||
#if ENABLE_CWC
|
||||
cwc_service_start(t);
|
||||
capmt_service_start(t);
|
||||
#endif
|
||||
|
||||
pthread_mutex_lock(&t->s_stream_mutex);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue