[FFmpeg-cvslog] rtpdec: Support depacketizing speex
Dmitry Samonenko
git at videolan.org
Thu Sep 27 14:36:41 CEST 2012
ffmpeg | branch: master | Dmitry Samonenko <shreddingwork at gmail.com> | Sat Sep 22 14:39:03 2012 +0400| [b6bf1490daa85fdbf5464525e9ca19dee0b520e2] | committer: Martin Storsjö
rtpdec: Support depacketizing speex
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b6bf1490daa85fdbf5464525e9ca19dee0b520e2
---
libavformat/rtpdec.c | 7 +++++++
libavformat/version.h | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
index fedab61..8b6f7b7 100644
--- a/libavformat/rtpdec.c
+++ b/libavformat/rtpdec.c
@@ -49,6 +49,12 @@ static RTPDynamicProtocolHandler ff_realmedia_mp3_dynamic_handler = {
.codec_id = AV_CODEC_ID_MP3ADU,
};
+static RTPDynamicProtocolHandler speex_dynamic_handler = {
+ .enc_name = "speex",
+ .codec_type = AVMEDIA_TYPE_AUDIO,
+ .codec_id = AV_CODEC_ID_SPEEX,
+};
+
/* statistics functions */
static RTPDynamicProtocolHandler *RTPFirstDynamicPayloadHandler= NULL;
@@ -78,6 +84,7 @@ void av_register_rtp_dynamic_payload_handlers(void)
ff_register_dynamic_payload_handler(&ff_vp8_dynamic_handler);
ff_register_dynamic_payload_handler(&ff_qcelp_dynamic_handler);
ff_register_dynamic_payload_handler(&ff_realmedia_mp3_dynamic_handler);
+ ff_register_dynamic_payload_handler(&speex_dynamic_handler);
ff_register_dynamic_payload_handler(&ff_ms_rtp_asf_pfv_handler);
ff_register_dynamic_payload_handler(&ff_ms_rtp_asf_pfa_handler);
diff --git a/libavformat/version.h b/libavformat/version.h
index 3cb6d82..f343a38 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -31,7 +31,7 @@
#define LIBAVFORMAT_VERSION_MAJOR 54
#define LIBAVFORMAT_VERSION_MINOR 17
-#define LIBAVFORMAT_VERSION_MICRO 1
+#define LIBAVFORMAT_VERSION_MICRO 2
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
LIBAVFORMAT_VERSION_MINOR, \
More information about the ffmpeg-cvslog
mailing list