diff options
Diffstat (limited to 'res/res_rtp_multicast.c')
-rw-r--r-- | res/res_rtp_multicast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_rtp_multicast.c b/res/res_rtp_multicast.c index 4ec71f26e..0e930d61f 100644 --- a/res/res_rtp_multicast.c +++ b/res/res_rtp_multicast.c @@ -213,7 +213,7 @@ static int multicast_rtp_write(struct ast_rtp_instance *instance, struct ast_fra } /* Grab the actual payload number for when we create the RTP packet */ - if ((codec = ast_rtp_codecs_payload_code(ast_rtp_instance_get_codecs(instance), 1, frame->subclass.codec)) < 0) { + if ((codec = ast_rtp_codecs_payload_code(ast_rtp_instance_get_codecs(instance), 1, &frame->subclass.format, 0)) < 0) { return -1; } |