---
libavformat/segment.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 00e5881..72977b1 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -662,6 +662,8 @@ static int seg_write_header(AVFormatContext *s)
if (av_dict_count(options)) {
av_log(s, AV_LOG_ERROR,
"Some of the provided format options in '%s' are not
recognized\n", seg->format_options_str);
+ ret = AVERROR(EINVAL);
+ goto fail;
}
av_dict_free(&options);
if (ret < 0) {
--
1.8.3.2
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel