Merge Vorbis / Theora depayloaders.

Patch by Josh Allmann <joshua DOT allmann AT gmail DOT com>.

Originally committed as revision 22768 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Josh Allmann 2010-04-01 21:43:22 +00:00 committed by Ronald S. Bultje
parent cb92a9c038
commit 339f5f3957
6 changed files with 18 additions and 268 deletions

View file

@ -1,5 +1,6 @@
/*
* Xiph RTP Protocols
* Copyright (c) 2009 Colin McQuillian
* Copyright (c) 2010 Josh Allmann
*
* This file is part of FFmpeg.
@ -22,6 +23,7 @@
/**
* @file libavformat/rtpdec_xiph.c
* @brief Xiph / RTP Code
* @author Colin McQuillan <m.niloc@gmail.com>
* @author Josh Allmann <joshua.allmann@gmail.com>
*/
@ -385,3 +387,13 @@ RTPDynamicProtocolHandler ff_theora_dynamic_handler = {
.close = xiph_free_context,
.parse_packet = xiph_handle_packet
};
RTPDynamicProtocolHandler ff_vorbis_dynamic_handler = {
.enc_name = "vorbis",
.codec_type = CODEC_TYPE_AUDIO,
.codec_id = CODEC_ID_VORBIS,
.parse_sdp_a_line = xiph_parse_sdp_line,
.open = xiph_new_context,
.close = xiph_free_context,
.parse_packet = xiph_handle_packet
};