Quoting Martin Storsjö (2015-01-14 21:28:50) > From: Michael Niedermayer <[email protected]> > > This goto wasn't necessary originally, but adding it was missed > when the write_manifest call was added in 8e276378. > > CC: [email protected] > --- > libavformat/smoothstreamingenc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavformat/smoothstreamingenc.c > b/libavformat/smoothstreamingenc.c > index ddd8da7..1db2dba 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); > > -- > 1.9.3 (Apple Git-50) >
Looks ok to me. -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
