Skip to content

Commit

Permalink
app_lua: add NULL for new required parameter of sdpops api
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Aug 26, 2016
1 parent 9cfe211 commit 30b5ac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/app_lua/app_lua_exp.c
Expand Up @@ -2220,7 +2220,7 @@ static int lua_sr_sdpops_remove_codecs_by_id(lua_State *L)
codecs.s = (char*)lua_tostring(L, -1);
codecs.len = strlen(codecs.s);

ret = _lua_sdpopsb.sdp_remove_codecs_by_id(env_L->msg, &codecs);
ret = _lua_sdpopsb.sdp_remove_codecs_by_id(env_L->msg, &codecs, NULL);

return app_lua_return_int(L, ret);
}
Expand Down Expand Up @@ -2257,7 +2257,7 @@ static int lua_sr_sdpops_remove_codecs_by_name(lua_State *L)
codecs.s = (char*)lua_tostring(L, -1);
codecs.len = strlen(codecs.s);

ret = _lua_sdpopsb.sdp_remove_codecs_by_name(env_L->msg, &codecs);
ret = _lua_sdpopsb.sdp_remove_codecs_by_name(env_L->msg, &codecs, NULL);

return app_lua_return_int(L, ret);
}
Expand Down

0 comments on commit 30b5ac9

Please sign in to comment.