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

Originally committed as revision 13013 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-04-28 18:29:42 +00:00
parent a0af2fa445
commit 60711e9599
2 changed files with 14 additions and 0 deletions

View File

@ -82,6 +82,7 @@ void av_register_all(void)
REGISTER_DEMUXER (FOURXM, fourxm);
REGISTER_MUXER (FRAMECRC, framecrc);
REGISTER_MUXDEMUX (GIF, gif);
REGISTER_DEMUXER (GSM, gsm);
REGISTER_MUXDEMUX (GXF, gxf);
REGISTER_MUXDEMUX (H261, h261);
REGISTER_MUXDEMUX (H263, h263);

View File

@ -496,6 +496,19 @@ AVInputFormat aac_demuxer = {
.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
AVOutputFormat roq_muxer =
{