mpegts: ensure that mux descriptor callback is only called with valid mux
This commit is contained in:
parent
c5eb0f404f
commit
a6e5ee41dc
1 changed files with 1 additions and 1 deletions
|
@ -785,7 +785,7 @@ dvb_nit_callback
|
|||
tvhtrace(mt->mt_name, " dtag %02X dlen %d", dtag, dlen);
|
||||
|
||||
/* User-defined */
|
||||
if (mt->mt_mux_cb) {
|
||||
if (mt->mt_mux_cb && mux) {
|
||||
int i = 0;
|
||||
while (mt->mt_mux_cb[i].cb) {
|
||||
if (mt->mt_mux_cb[i].tag == dtag)
|
||||
|
|
Loading…
Add table
Reference in a new issue