Commit 60711e95 authored by Michael Niedermayer's avatar Michael Niedermayer

raw GSM demuxer (does not work yet as parser is missing)

Originally committed as revision 13013 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a0af2fa4
...@@ -82,6 +82,7 @@ void av_register_all(void) ...@@ -82,6 +82,7 @@ void av_register_all(void)
REGISTER_DEMUXER (FOURXM, fourxm); REGISTER_DEMUXER (FOURXM, fourxm);
REGISTER_MUXER (FRAMECRC, framecrc); REGISTER_MUXER (FRAMECRC, framecrc);
REGISTER_MUXDEMUX (GIF, gif); REGISTER_MUXDEMUX (GIF, gif);
REGISTER_DEMUXER (GSM, gsm);
REGISTER_MUXDEMUX (GXF, gxf); REGISTER_MUXDEMUX (GXF, gxf);
REGISTER_MUXDEMUX (H261, h261); REGISTER_MUXDEMUX (H261, h261);
REGISTER_MUXDEMUX (H263, h263); REGISTER_MUXDEMUX (H263, h263);
......
...@@ -496,6 +496,19 @@ AVInputFormat aac_demuxer = { ...@@ -496,6 +496,19 @@ AVInputFormat aac_demuxer = {
.value = CODEC_ID_AAC, .value = CODEC_ID_AAC,
}; };
AVInputFormat gsm_demuxer = {
"gsm",
"GSM",
0,
NULL,
audio_read_header,
raw_read_partial_packet,
raw_read_close,
.flags= AVFMT_GENERIC_INDEX,
.extensions = "gsm",
.value = CODEC_ID_GSM,
};
#ifdef CONFIG_ROQ_MUXER #ifdef CONFIG_ROQ_MUXER
AVOutputFormat roq_muxer = AVOutputFormat roq_muxer =
{ {
......
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