aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/segment.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-02-07 16:42:11 -0300
committerJames Almer <jamrial@gmail.com>2018-02-07 16:42:11 -0300
commitcf666651b4992d41a8e6df47cc636116c07f78a1 (patch)
tree134ce0262daf2f3b1a6c7fee8f8ebfd059c89088 /libavformat/segment.c
parent651d5f963921bbd547373380e1581df9bbc83199 (diff)
downloadffmpeg-cf666651b4992d41a8e6df47cc636116c07f78a1.tar.gz
avformat: fix stream_segment muxer build dependencies
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/segment.c')
-rw-r--r--libavformat/segment.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 8da4fca512..7fb4dc7d21 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -1064,6 +1064,7 @@ static const AVOption options[] = {
{ NULL },
};
+#if CONFIG_SEGMENT_MUXER
static const AVClass seg_class = {
.class_name = "segment muxer",
.item_name = av_default_item_name,
@@ -1084,7 +1085,9 @@ AVOutputFormat ff_segment_muxer = {
.check_bitstream = seg_check_bitstream,
.priv_class = &seg_class,
};
+#endif
+#if CONFIG_STREAM_SEGMENT_MUXER
static const AVClass sseg_class = {
.class_name = "stream_segment muxer",
.item_name = av_default_item_name,
@@ -1105,3 +1108,4 @@ AVOutputFormat ff_stream_segment_muxer = {
.check_bitstream = seg_check_bitstream,
.priv_class = &sseg_class,
};
+#endif