Browse Source

avformat/tee: add forgotten ret assignment

Fixes CID991840
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
5f476cfe6e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/tee.c

+ 1
- 1
libavformat/tee.c View File

@@ -100,7 +100,7 @@ static int open_slave(AVFormatContext *avf, char *slave, AVFormatContext **ravf)
av_dict_set(&options, "f", NULL, 0);
}

avformat_alloc_output_context2(&avf2, NULL, format, filename);
ret = avformat_alloc_output_context2(&avf2, NULL, format, filename);
if (ret < 0)
goto fail;
av_free(format);


Loading…
Cancel
Save