Commit df295558 authored by Yann Diorcet's avatar Yann Diorcet

Fix unused variable with disabled video

parent 14187df4
......@@ -452,8 +452,9 @@ bool_t parse_args(int argc, char** argv, MediastreamDatas* out) {
void setup_media_streams(MediastreamDatas* args) {
/*create the rtp session */
#ifdef VIDEO_ENABLED
MSWebCam *cam=NULL;
#endif
ortp_init();
if (args->is_verbose) {
ortp_set_log_level_mask(ORTP_DEBUG|ORTP_MESSAGE|ORTP_WARNING|ORTP_ERROR|ORTP_FATAL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment