diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-14 00:17:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-14 00:17:52 +0100 |
commit | f2e12f8942e5434df3d0f41851a1560fc4663dae (patch) | |
tree | 12f9d72f81aa076beaec4e3a933a68545d2d1b58 /libavformat | |
parent | 8d7d88135cf3303b62382e704de6a9b284755a3c (diff) | |
download | ffmpeg-f2e12f8942e5434df3d0f41851a1560fc4663dae.tar.gz |
avformat/smoothstreamingenc: Add missing "goto fail"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-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 597f945164..075b303aa9 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); |