Commit f2e12f89 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/smoothstreamingenc: Add missing "goto fail"

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8d7d8813
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment