avformat: fix stream_segment muxer build dependencies

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2018-02-07 16:42:11 -03:00
parent 651d5f9639
commit cf666651b4
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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