Commit cf666651 authored by James Almer's avatar James Almer

avformat: fix stream_segment muxer build dependencies

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 651d5f96
......@@ -474,6 +474,7 @@ OBJS-$(CONFIG_SRT_DEMUXER) += srtdec.o subtitles.o
OBJS-$(CONFIG_SRT_MUXER) += srtenc.o
OBJS-$(CONFIG_STL_DEMUXER) += stldec.o subtitles.o
OBJS-$(CONFIG_STR_DEMUXER) += psxstr.o
OBJS-$(CONFIG_STREAM_SEGMENT_MUXER) += segment.o
OBJS-$(CONFIG_SUBVIEWER1_DEMUXER) += subviewer1dec.o subtitles.o
OBJS-$(CONFIG_SUBVIEWER_DEMUXER) += subviewerdec.o subtitles.o
OBJS-$(CONFIG_SUP_DEMUXER) += supdec.o
......
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment