1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

return start error

This commit is contained in:
rjkm 2021-12-06 15:36:44 +01:00
parent 811bea8010
commit e17abdbbb9

View File

@ -932,9 +932,9 @@ static int ts_open(struct inode *inode, struct file *file)
if (err < 0)
return err;
if ((file->f_flags & O_ACCMODE) == O_RDONLY)
ddb_input_start(input);
err = ddb_input_start(input);
else if ((file->f_flags & O_ACCMODE) == O_WRONLY)
ddb_output_start(output);
err = ddb_output_start(output);
return err;
}