diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-14 02:17:52 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-01-19 23:31:08 +0300 |
commit | ea3fc9fe68752eb1b9078b28bea18a1e781d1c2c (patch) | |
tree | 8b5813c91d4a3245f567a65fe9bc6411c00ed160 | |
parent | 3941df546276b190cc9362fd093e6721e8e52f50 (diff) |
smoothstreamingenc: Add a missing "goto fail"
This goto wasn't necessary originally, but it should have been
added when the write_manifest call was added in 8e276378.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavformat/smoothstreamingenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/smoothstreamingenc.c b/libavformat/smoothstreamingenc.c index ddd8da7469..1db2dba24f 100644 --- a/libavformat/smoothstreamingenc.c +++ b/libavformat/smoothstreamingenc.c @@ -394,6 +394,7 @@ static int ism_write_header(AVFormatContext *s) if (!c->has_video && c->min_frag_duration <= 0) { av_log(s, AV_LOG_WARNING, "no video stream and no min frag duration set\n"); ret = AVERROR(EINVAL); + goto fail; } ret = write_manifest(s, 0); |