ffmpeg | branch: master | Michael Niedermayer <michae...@gmx.at> | Wed Jan 14 00:17:52 2015 +0100| [f2e12f8942e5434df3d0f41851a1560fc4663dae] | committer: Michael Niedermayer
avformat/smoothstreamingenc: Add missing "goto fail" Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f2e12f8942e5434df3d0f41851a1560fc4663dae --- libavformat/smoothstreamingenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/smoothstreamingenc.c b/libavformat/smoothstreamingenc.c index 597f945..075b303 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); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog