fixed potetial segmentation fault
This commit is contained in:
parent
56f50c4bc2
commit
81ca007bf3
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ dvb_transport_start(th_transport_t *t, unsigned int weight, int force_start)
|
|||
if(tda->tda_rootpath == NULL)
|
||||
return 1; /* hardware not present */
|
||||
|
||||
if(!tdmi->tdmi_enabled)
|
||||
if(tdmi && !tdmi->tdmi_enabled)
|
||||
return 1; /* Mux is disabled */
|
||||
|
||||
/* Check if adapter is idle, or already tuned */
|
||||
|
|
Loading…
Add table
Reference in a new issue