mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 11:49:48 +00:00
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>
This commit is contained in:
parent
3941df5462
commit
ea3fc9fe68
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user