summaryrefslogtreecommitdiffstats
path: root/audio/avdtp.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-01-23 13:16:02 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-01-23 13:16:02 +0000
commit489c2e0dbd76d9cecec62d19fafd9e7baddb72e7 (patch)
treed8ec2cba32e8a20443eb85e4162d0b38f0fd0d31 /audio/avdtp.c
parenta0af7ee44534dad8f35a4142c6a22177e54ffc57 (diff)
Add mpeg12 sep registration.
Diffstat (limited to 'audio/avdtp.c')
-rw-r--r--audio/avdtp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c
index d5433452..97868a07 100644
--- a/audio/avdtp.c
+++ b/audio/avdtp.c
@@ -2696,6 +2696,7 @@ int avdtp_abort(struct avdtp *session, struct avdtp_stream *stream)
}
struct avdtp_local_sep *avdtp_register_sep(uint8_t type, uint8_t media_type,
+ uint8_t codec_type,
struct avdtp_sep_ind *ind,
struct avdtp_sep_cfm *cfm,
void *user_data)
@@ -2711,6 +2712,7 @@ struct avdtp_local_sep *avdtp_register_sep(uint8_t type, uint8_t media_type,
sep->info.seid = free_seid++;
sep->info.type = type;
sep->info.media_type = media_type;
+ sep->codec = codec_type;
sep->ind = ind;
sep->cfm = cfm;
sep->user_data = user_data;