1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavf/tee: initialize ret in parse_bsfs()

Fix spurious failures.
This commit is contained in:
Stefano Sabatini 2013-08-22 09:44:21 +02:00
parent 3819db745d
commit eadb3ad758

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);