summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_qcelp.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-12-05 19:42:14 +0000
committerMartin Storsjö <martin@martin.st>2010-12-05 19:42:14 +0000
commit28b4eb95bca07a84b740e9f91672b73a088184ab (patch)
tree71fa482ad2501bcf9d573a4214e384c07cc54ce4 /libavformat/rtpdec_qcelp.c
parent6a7e31a901c84d5466998dcefc4204f3db6c81ff (diff)
rtpdec_qcelp: Use the depacketizer for static payload types, too
Originally committed as revision 25894 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpdec_qcelp.c')
-rw-r--r--libavformat/rtpdec_qcelp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtpdec_qcelp.c b/libavformat/rtpdec_qcelp.c
index 792e7dcad4..ceae50426b 100644
--- a/libavformat/rtpdec_qcelp.c
+++ b/libavformat/rtpdec_qcelp.c
@@ -222,6 +222,7 @@ RTPDynamicProtocolHandler ff_qcelp_dynamic_handler = {
.enc_name = "x-Purevoice",
.codec_type = AVMEDIA_TYPE_AUDIO,
.codec_id = CODEC_ID_QCELP,
+ .static_payload_id = 12,
.open = qcelp_new_context,
.close = qcelp_free_context,
.parse_packet = qcelp_parse_packet