Mercurial > pidgin.yaz
comparison libpurple/media.c @ 26397:c0499eb4dd4d
Disapprove part of the revision that shouldn't be there.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Mon, 23 Mar 2009 01:43:21 +0000 |
parents | 2ad89aff8d68 |
children | d7393eebf1f4 |
comparison
equal
deleted
inserted
replaced
26396:2ad89aff8d68 | 26397:c0499eb4dd4d |
---|---|
499 candidate->ip = g_strdup(ip); | 499 candidate->ip = g_strdup(ip); |
500 candidate->port = port; | 500 candidate->port = port; |
501 return candidate; | 501 return candidate; |
502 } | 502 } |
503 | 503 |
504 PurpleMediaCandidate * | 504 static PurpleMediaCandidate * |
505 purple_media_candidate_copy(PurpleMediaCandidate *candidate) | 505 purple_media_candidate_copy(PurpleMediaCandidate *candidate) |
506 { | 506 { |
507 PurpleMediaCandidate *new_candidate; | 507 PurpleMediaCandidate *new_candidate; |
508 | 508 |
509 if (candidate == NULL) | 509 if (candidate == NULL) |
754 codec->media_type = media_type; | 754 codec->media_type = media_type; |
755 codec->clock_rate = clock_rate; | 755 codec->clock_rate = clock_rate; |
756 return codec; | 756 return codec; |
757 } | 757 } |
758 | 758 |
759 PurpleMediaCodec * | 759 static PurpleMediaCodec * |
760 purple_media_codec_copy(PurpleMediaCodec *codec) | 760 purple_media_codec_copy(PurpleMediaCodec *codec) |
761 { | 761 { |
762 PurpleMediaCodec *new_codec; | 762 PurpleMediaCodec *new_codec; |
763 GList *iter; | 763 GList *iter; |
764 | 764 |