]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/smoothstreamingenc.c
avcodec/vp8: remove double ;;
[ffmpeg] / libavformat / smoothstreamingenc.c
index 597f945164398892def733b89008358366c2a5a4..075b303aa93fce2b5be861f95cf16a4621d8bb93 100644 (file)
@@ -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);