summaryrefslogtreecommitdiff
path: root/include/baresip.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/baresip.h')
-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,