lavf/tee: initialize ret in parse_bsfs()
Fix spurious failures.
This commit is contained in:
parent
3819db745d
commit
eadb3ad758
@ -103,7 +103,7 @@ static int parse_bsfs(void *log_ctx, const char *bsfs_spec,
|
|||||||
AVBitStreamFilterContext **bsfs)
|
AVBitStreamFilterContext **bsfs)
|
||||||
{
|
{
|
||||||
char *bsf_name, *buf, *saveptr;
|
char *bsf_name, *buf, *saveptr;
|
||||||
int ret;
|
int ret = 0;
|
||||||
|
|
||||||
if (!(buf = av_strdup(bsfs_spec)))
|
if (!(buf = av_strdup(bsfs_spec)))
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user