Browse Source

lavf/tee: initialize ret in parse_bsfs()

Fix spurious failures.
tags/n2.1
Stefano Sabatini 12 years ago
parent
commit
eadb3ad758
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/tee.c

+ 1
- 1
libavformat/tee.c View File

@@ -103,7 +103,7 @@ static int parse_bsfs(void *log_ctx, const char *bsfs_spec,
AVBitStreamFilterContext **bsfs)
{
char *bsf_name, *buf, *saveptr;
int ret;
int ret = 0;

if (!(buf = av_strdup(bsfs_spec)))
return AVERROR(ENOMEM);


Loading…
Cancel
Save