mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 11:39:47 +00:00
avformat/tee: Reindentation
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
b3612b5f52
commit
c012fc34df
@ -98,15 +98,15 @@ static inline int parse_slave_failure_policy_option(const char *opt, TeeSlave *t
|
|||||||
|
|
||||||
static int parse_slave_fifo_policy(const char *use_fifo, TeeSlave *tee_slave)
|
static int parse_slave_fifo_policy(const char *use_fifo, TeeSlave *tee_slave)
|
||||||
{
|
{
|
||||||
/*TODO - change this to use proper function for parsing boolean
|
/*TODO - change this to use proper function for parsing boolean
|
||||||
* options when there is one */
|
* options when there is one */
|
||||||
if (av_match_name(use_fifo, "true,y,yes,enable,enabled,on,1")) {
|
if (av_match_name(use_fifo, "true,y,yes,enable,enabled,on,1")) {
|
||||||
tee_slave->use_fifo = 1;
|
tee_slave->use_fifo = 1;
|
||||||
} else if (av_match_name(use_fifo, "false,n,no,disable,disabled,off,0")) {
|
} else if (av_match_name(use_fifo, "false,n,no,disable,disabled,off,0")) {
|
||||||
tee_slave->use_fifo = 0;
|
tee_slave->use_fifo = 0;
|
||||||
} else {
|
} else {
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user