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:
parent
811bea8010
commit
e17abdbbb9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user