rtpdec_qcelp: Use the depacketizer for static payload types, too
authorMartin Storsjö <martin@martin.st>
Sun, 5 Dec 2010 19:42:14 +0000 (19:42 +0000)
committerMartin Storsjö <martin@martin.st>
Sun, 5 Dec 2010 19:42:14 +0000 (19:42 +0000)
Originally committed as revision 25894 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtpdec_qcelp.c

index 792e7dc..ceae504 100644 (file)
@@ -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