Commit 88508a87 authored by Aurelien Jacobs's avatar Aurelien Jacobs

sbc: add raw muxer for SBC

parent ff4600d9
......@@ -501,7 +501,7 @@ library:
@item raw NULL @tab X @tab
@item raw video @tab X @tab X
@item raw id RoQ @tab X @tab
@item raw SBC @tab @tab X
@item raw SBC @tab X @tab X
@item raw Shorten @tab @tab X
@item raw TAK @tab @tab X
@item raw TrueHD @tab X @tab X
......
......@@ -453,6 +453,7 @@ OBJS-$(CONFIG_SAMI_DEMUXER) += samidec.o subtitles.o
OBJS-$(CONFIG_SAP_DEMUXER) += sapdec.o
OBJS-$(CONFIG_SAP_MUXER) += sapenc.o
OBJS-$(CONFIG_SBC_DEMUXER) += sbcdec.o rawdec.o
OBJS-$(CONFIG_SBC_MUXER) += rawenc.o
OBJS-$(CONFIG_SBG_DEMUXER) += sbgdec.o
OBJS-$(CONFIG_SCC_DEMUXER) += sccdec.o subtitles.o
OBJS-$(CONFIG_SCC_MUXER) += sccenc.o subtitles.o
......
......@@ -355,6 +355,7 @@ extern AVInputFormat ff_sami_demuxer;
extern AVInputFormat ff_sap_demuxer;
extern AVOutputFormat ff_sap_muxer;
extern AVInputFormat ff_sbc_demuxer;
extern AVOutputFormat ff_sbc_muxer;
extern AVInputFormat ff_sbg_demuxer;
extern AVInputFormat ff_scc_demuxer;
extern AVOutputFormat ff_scc_muxer;
......
......@@ -452,6 +452,19 @@ AVOutputFormat ff_rawvideo_muxer = {
};
#endif
#if CONFIG_SBC_MUXER
AVOutputFormat ff_sbc_muxer = {
.name = "sbc",
.long_name = NULL_IF_CONFIG_SMALL("raw SBC"),
.mime_type = "audio/x-sbc",
.extensions = "sbc,msbc",
.audio_codec = AV_CODEC_ID_SBC,
.write_header = force_one_stream,
.write_packet = ff_raw_write_packet,
.flags = AVFMT_NOTIMESTAMPS,
};
#endif
#if CONFIG_TRUEHD_MUXER
AVOutputFormat ff_truehd_muxer = {
.name = "truehd",
......
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