mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2025-12-26 23:26:46 +01:00
if user space set stream to 0xff insert correct stream number
This commit is contained in:
@@ -1985,6 +1985,8 @@ int ddbridge_mod_do_ioctl(struct file *file, unsigned int cmd, void *parg)
|
||||
ret = -EFAULT;
|
||||
break;
|
||||
}
|
||||
if (msg->cmd.mod_stream == 0xff)
|
||||
msg->cmd.mod_stream = output->nr;
|
||||
ret = ddb_mci_cmd_link(link, &msg->cmd, &msg->res);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user