OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3941df5
)
smoothstreamingenc: Add a missing "goto fail"
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 13 Jan 2015 23:17:52 +0000
(
00:17
+0100)
committer
Martin Storsjö
<martin@martin.st>
Mon, 19 Jan 2015 20:31:08 +0000
(22:31 +0200)
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>
libavformat/smoothstreamingenc.c
patch
|
blob
|
history
diff --git
a/libavformat/smoothstreamingenc.c
b/libavformat/smoothstreamingenc.c
index
ddd8da7
..
1db2dba
100644
(file)
--- 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);