summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2015-06-20 10:18:07 +0200
committerAlfred E. Heggestad <aeh@db.org>2015-06-20 10:18:07 +0200
commitf369fc474a4f629fb08ad8ae4c188e43f68806fc (patch)
treeeb3f419966f7bc25e506f823b90680cd52425125 /include
parent92f52bf6180f03d0d148cd4db15e07dfb97a5d53 (diff)
parenteb6b9567bbcd400773e7801f60dd34b92edace31 (diff)
Merge pull request #44 from alfredh/vidsrc_api
vidsrc: use const pointer to base-class
Diffstat (limited to 'include')
-rw-r--r--include/baresip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/baresip.h b/include/baresip.h
index fe0dbab..facde9a 100644
--- a/include/baresip.h
+++ b/include/baresip.h
@@ -610,7 +610,7 @@ struct vidsrc_prm {
typedef void (vidsrc_frame_h)(struct vidframe *frame, void *arg);
typedef void (vidsrc_error_h)(int err, void *arg);
-typedef int (vidsrc_alloc_h)(struct vidsrc_st **vsp, struct vidsrc *vs,
+typedef int (vidsrc_alloc_h)(struct vidsrc_st **vsp, const struct vidsrc *vs,
struct media_ctx **ctx, struct vidsrc_prm *prm,
const struct vidsz *size,
const char *fmt, const char *dev,