diff options
author | Mohamed Naufal <naufal11@gmail.com> | 2015-11-12 14:53:26 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-11-30 10:58:46 -0500 |
commit | ca5f386e75c592ce25b8184516fd0d580ccb31bb (patch) | |
tree | e5eef4ca5e651e7dce97f37261474be678636d45 /libavformat/rawenc.c | |
parent | f023d57d355ff3b917f1aad9b03db5c293ec4244 (diff) | |
download | ffmpeg-ca5f386e75c592ce25b8184516fd0d580ccb31bb.tar.gz |
lavf: G.723.1 muxer
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavformat/rawenc.c')
-rw-r--r-- | libavformat/rawenc.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libavformat/rawenc.c b/libavformat/rawenc.c index 5d6164656d..e4c79bf3ee 100644 --- a/libavformat/rawenc.c +++ b/libavformat/rawenc.c @@ -131,6 +131,19 @@ AVOutputFormat ff_g722_muxer = { }; #endif +#if CONFIG_G723_1_MUXER +AVOutputFormat ff_g723_1_muxer = { + .name = "g723_1", + .long_name = NULL_IF_CONFIG_SMALL("raw G.723.1"), + .mime_type = "audio/g723", + .extensions = "tco,rco", + .audio_codec = AV_CODEC_ID_G723_1, + .video_codec = AV_CODEC_ID_NONE, + .write_packet = ff_raw_write_packet, + .flags = AVFMT_NOTIMESTAMPS, +}; +#endif + #if CONFIG_H261_MUXER AVOutputFormat ff_h261_muxer = { .name = "h261", |